Skip to main content

Versatile tool for generating system resource statistics in Linux.

# To display CPU, disk, net, paging and system statistics:
dstat

# To display statistics every 5 seconds and 4 updates only:
dstat <5> <4>

# To display CPU and memory statistics only:
dstat --cpu --mem

# To list all available dstat plugins:
dstat --list

# To display the process using the most memory and most CPU:
dstat --top-mem --top-cpu

# To display battery percentage and remaining battery time:
dstat --battery --battery-remain