Perf
- CPU
- top
- htop
- 网络 IO
- iftop
- 存储 IO
- iotop
- iostat
- Linux kernel profiling with perf
- simplest tool to measure C program cache hit/miss and cpu time
perf
perf record -g -a sleep 10
perf report
perf stat -B dd if=/dev/zero of=/dev/null count=1000000
perf record -g -a sleep 10
perf report
perf stat -B dd if=/dev/zero of=/dev/null count=1000000