Check IO wait and disk throughput

Show extended disk IO stats every 2 seconds, 5 times. Look at %iowait and await.

iostat -xz 2 5

tool
linux133 commands
tags
linuxdiskmonitoring

More linux commands

  • vmstat 1 5

    Show CPU, memory, swap and IO stats every second, 5 times. The first line is the average since boot.

  • iotop -ao

    Show total disk reads and writes per process since start (needs root).

  • sar -u -r -d 1 5

    Show CPU, memory and disk stats with sysstat: 5 samples, 1 second apart.

  • strace -f -e trace=network,file -p <pid>

    Trace network and file syscalls of a running process and its child processes.

  • perf stat -e cycles,instructions,cache-misses -- sleep 5

    Count CPU cycles, instructions and cache misses while a command runs (here sleep 5). Add -a to cover the whole system.

all 133 linux commands