tldr/pages/linux/iostat.md

29 lines
577 B
Markdown
Raw Normal View History

2014-08-04 02:59:39 +01:00
# iostat
> Report statistics for devices and partitions.
> More information: <https://manned.org/iostat>.
2014-08-04 02:59:39 +01:00
- Display a report of CPU and disk statistics since system startup:
2014-08-04 02:59:39 +01:00
`iostat`
2014-08-04 02:59:39 +01:00
2016-07-11 16:37:30 +01:00
- Display a report of CPU and disk statistics with units converted to megabytes:
2016-07-11 06:08:53 +01:00
`iostat -m`
- Display CPU statistics:
2014-08-04 02:59:39 +01:00
`iostat -c`
- 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:
2014-08-04 02:59:39 +01:00
2016-07-11 06:08:53 +01:00
`iostat {{2}}`