mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 16:53:33 +00:00
Update cheatsheets
This commit is contained in:
33
linux/iostat
Normal file
33
linux/iostat
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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:
|
||||
|
||||
`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:
|
||||
|
||||
`iostat {{2}}`
|
||||
Reference in New Issue
Block a user