dstat: add page (#3851)

client-spec/clarity
MT 2020-02-18 07:33:27 +11:00 committed by GitHub
parent 0bddfe82b0
commit bb8a00ab9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

28
pages/linux/dstat.md Normal file
View File

@ -0,0 +1,28 @@
# dstat
> Versatile tool for generating system resource statistics.
> More information: <http://dag.wieers.com/home-made/dstat>.
- Display CPU, disk, net, paging and system statistics:
`dstat`
- Display statistics every 5 seconds and 4 updates only:
`dstat {{5}} {{4}}`
- Display CPU and memory statistics only:
`dstat --cpu --mem`
- List all available dstat plugins:
`dstat --list`
- Display the process using the most memory and most CPU:
`dstat --top-mem --top-cpu`
- Display battery percentage and remaining battery time:
`dstat --battery --battery-remain`