iostat: Added some flags
- Added basic command usage without any flags. - Removed the '-h' flag as it seems to be added implicitly by the cmd. - Added the interval parameter. - Added the '-m' flag.
This commit is contained in:
@@ -1,19 +1,23 @@
|
|||||||
# iostat
|
# iostat
|
||||||
|
|
||||||
> Report stats for devices and partitions.
|
> Report statistics for devices and partitions.
|
||||||
|
|
||||||
- Display disk statistics with disk IDs in human readable format:
|
- Display a report of CPU and disk statistics since system startup:
|
||||||
|
|
||||||
`iostat -h`
|
`iostat`
|
||||||
|
|
||||||
- Display disk statistics with disk names (including LVM) in human readable format:
|
|
||||||
|
|
||||||
`iostat -Nh`
|
|
||||||
|
|
||||||
- Display CPU statistics:
|
- Display CPU statistics:
|
||||||
|
|
||||||
`iostat -c`
|
`iostat -c`
|
||||||
|
|
||||||
- Display extended disk statistics with disk names:
|
- Display disk statistics with disk names (including LVM):
|
||||||
|
|
||||||
`iostat -xN`
|
`iostat -N`
|
||||||
|
|
||||||
|
- Display extended disk statistics with disk names for device "sda":
|
||||||
|
|
||||||
|
`iostat -xN {{sda}}`
|
||||||
|
|
||||||
|
- Display incremental reports of CPU and disk statistics every "interval" second(s) with units converted to megabytes:
|
||||||
|
|
||||||
|
`iostat -m {{interval}}`
|
||||||
|
Reference in New Issue
Block a user