iostat - Monitor input/output device load
The iostat command monitors system input/output device load by
observing the time that the devices are active in relation to their average transfer rates.
The iostat report shows:
- CPU utilization
- Device queue information
- Service time
Authorization
Root access is required on Linux® operating systems.
Syntax
See the iostat man page for the complete syntax and all options.Parameters
- -c
- Collects CPU statistics.
- -d
- Collects disk statistics.
- -t
- Prints a time stamp for each report.
- -k
- Displays statistics in kilobytes per seconds instead of blocks per second.
- -x
- Displays extended statistics, if available.
Examples
To generate a report with a sampling interval of 10 seconds, collecting disk statistics in KB per second, including a time stamp, and extended statistics, issue the command:
[root@system]# iostat -dtkx 10