snippetbashTip
dstat — Versatile tool for generating system resource statistics. Note: dstat is deprecated and no longer ma
Viewed 0 times
commandclitoolgeneratingversatiledstatforsystem
linux
Problem
How to use the
dstat command: Versatile tool for generating system resource statistics. Note: dstat is deprecated and no longer maintained. More information: <https://github.com/dstat-real/dstat>.Solution
dstat — Versatile tool for generating system resource statistics. Note: dstat is deprecated and no longer maintained. More information: <https://github.com/dstat-real/dstat>.Display CPU, disk, net, paging, and system statistics:
dstatDisplay 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 --listDisplay the process using the most memory and most CPU:
dstat --top-mem --top-cpuDisplay battery percentage and remaining battery time:
dstat --battery --battery-remainCode Snippets
Display CPU, disk, net, paging, and system statistics
dstatDisplay 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 --listDisplay the process using the most memory and most CPU
dstat --top-mem --top-cpuContext
tldr-pages: linux/dstat
Revisions (0)
No revisions yet.