2014-08-03 21:59:39 -04:00
|
|
|
# iostat
|
|
|
|
|
2016-07-09 21:43:36 +05:30
|
|
|
> Report statistics for devices and partitions.
|
2021-09-02 15:33:49 -03:00
|
|
|
> More information: <https://manned.org/iostat>.
|
2014-08-03 21:59:39 -04:00
|
|
|
|
2016-07-09 21:43:36 +05:30
|
|
|
- Display a report of CPU and disk statistics since system startup:
|
2014-08-03 21:59:39 -04:00
|
|
|
|
2016-07-09 21:43:36 +05:30
|
|
|
`iostat`
|
2014-08-03 21:59:39 -04:00
|
|
|
|
2016-07-11 21:07:30 +05:30
|
|
|
- Display a report of CPU and disk statistics with units converted to megabytes:
|
2016-07-11 10:38:53 +05:30
|
|
|
|
|
|
|
`iostat -m`
|
|
|
|
|
2016-01-07 18:31:27 +01:00
|
|
|
- Display CPU statistics:
|
2014-08-03 21:59:39 -04:00
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`iostat -c`
|
2014-08-03 21:59:39 -04:00
|
|
|
|
2016-07-09 21:43:36 +05:30
|
|
|
- Display disk statistics with disk names (including LVM):
|
|
|
|
|
|
|
|
`iostat -N`
|
|
|
|
|
2016-07-11 16:48:46 +01:00
|
|
|
- Display extended disk statistics with disk names for device "sda":
|
2016-07-09 21:43:36 +05:30
|
|
|
|
|
|
|
`iostat -xN {{sda}}`
|
|
|
|
|
2016-07-11 16:48:46 +01:00
|
|
|
- Display incremental reports of CPU and disk statistics every 2 seconds:
|
2014-08-03 21:59:39 -04:00
|
|
|
|
2016-07-11 10:38:53 +05:30
|
|
|
`iostat {{2}}`
|