iotop -b -n 3

Category: Monitoring & Observability

iotop -b -n 3

Run iotop in batch mode for three samples

Non-interactive mode prints the current I/O table, then exits after -n 3 samples, suitable for cron jobs and log files. Each batch line carries a timestamp. Add -k to display sizes in kilobytes.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.