2025-03-14 21:59:59 -06:00
|
|
|
# iostat
|
|
|
|
|
|
|
|
|
|
> Report statistics for devices and partitions.
|
|
|
|
|
> More information: <https://manned.org/iostat>.
|
|
|
|
|
|
|
|
|
|
- Display a report of CPU and disk statistics since system startup:
|
|
|
|
|
|
|
|
|
|
`iostat`
|
|
|
|
|
|
|
|
|
|
- Display a report of CPU and disk statistics with units converted to megabytes:
|
|
|
|
|
|
|
|
|
|
`iostat -m`
|
|
|
|
|
|
|
|
|
|
- Display CPU statistics:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`iostat {{[-c|--compact]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display disk statistics with disk names (including LVM):
|
|
|
|
|
|
|
|
|
|
`iostat -N`
|
|
|
|
|
|
|
|
|
|
- Display extended disk statistics with disk names for device "sda":
|
|
|
|
|
|
|
|
|
|
`iostat -xN {{sda}}`
|
|
|
|
|
|
|
|
|
|
- Display incremental reports of CPU and disk statistics every 2 seconds:
|
|
|
|
|
|
|
|
|
|
`iostat {{2}}`
|