Sh - Iostat Utility

> Procedural Languages > Bash Shell and (Unix|Linux) Utilities (XCU)

1 - About

Iostat is an utility of the sysstat package

3 - Syntax

watch iostat -p -m

where:

  • the watch command execute the iostat command continuously every 2 seconds to refresh the output results
  • the -p option shows the statistics for all hard drives
  • the -m option shows the statistics in megabytes instead of blocks
Advertising