2014-08-04 05:59:39 +04:00
|
|
|
# iostat
|
|
|
|
|
2016-07-09 19:13:36 +03:00
|
|
|
> Report statistics for devices and partitions.
|
2014-08-04 05:59:39 +04:00
|
|
|
|
2016-07-09 19:13:36 +03:00
|
|
|
- Display a report of CPU and disk statistics since system startup:
|
2014-08-04 05:59:39 +04:00
|
|
|
|
2016-07-09 19:13:36 +03:00
|
|
|
`iostat`
|
2014-08-04 05:59:39 +04:00
|
|
|
|
2016-07-11 18:37:30 +03:00
|
|
|
- Display a report of CPU and disk statistics with units converted to megabytes:
|
2016-07-11 08:08:53 +03:00
|
|
|
|
|
|
|
`iostat -m`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Display CPU statistics:
|
2014-08-04 05:59:39 +04:00
|
|
|
|
|
|
|
`iostat -c`
|
|
|
|
|
2016-07-09 19:13:36 +03:00
|
|
|
- Display disk statistics with disk names (including LVM):
|
|
|
|
|
|
|
|
`iostat -N`
|
|
|
|
|
2016-07-11 18:48:46 +03:00
|
|
|
- Display extended disk statistics with disk names for device "sda":
|
2016-07-09 19:13:36 +03:00
|
|
|
|
|
|
|
`iostat -xN {{sda}}`
|
|
|
|
|
2016-07-11 18:48:46 +03:00
|
|
|
- Display incremental reports of CPU and disk statistics every 2 seconds:
|
2014-08-04 05:59:39 +04:00
|
|
|
|
2016-07-11 08:08:53 +03:00
|
|
|
`iostat {{2}}`
|