dstat
linux
Versatile tool for generating system resource statistics. Note: dstat is deprecated and no longer maintained.
More info →Options (2)
-c, --cpubooleanDisplay CPU and memory statistics only
Example:
dstat {{[-c|--cpu]}} {{[-m|--mem]}}-m, --membooleanDisplay CPU and memory statistics only
Example:
dstat {{[-c|--cpu]}} {{[-m|--mem]}}Examples (6)
Display CPU, disk, net, paging, and system statistics
Display statistics every 5 seconds and 4 updates only
dstat 5 4Display 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-remainmade by @shridhargupta | data from tldr-pages