mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
dstat: add page (#3851)
This commit is contained in:
parent
0bddfe82b0
commit
bb8a00ab9a
1 changed files with 28 additions and 0 deletions
28
pages/linux/dstat.md
Normal file
28
pages/linux/dstat.md
Normal 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`
|
Loading…
Add table
Reference in a new issue