1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 08:15:24 +02:00
tldr/pages/linux/dstat.md
Managor 1f63ed5e22
linux*: refresh old pages part 1 (#16251)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-04-25 04:34:04 +03:00

28 lines
592 B
Markdown

# 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 {{[-c|--cpu]}} {{[-m|--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`