LinuxCommandLibrary

dstat

TLDR

Display CPU, disk, net, paging, system statistics

$ dstat
copy
Display statistics every 5 seconds, 4 times
$ dstat 5 4
copy
Display CPU and memory only
$ dstat -c -m
copy
List available plugins
$ dstat --list
copy
Display top memory and CPU processes
$ dstat --top-mem --top-cpu
copy
Display battery information
$ dstat --battery --battery-remain
copy

SYNOPSIS

dstat [options] [delay] [count]

DESCRIPTION

dstat is a versatile system resource statistics generator. It combines the functionality of vmstat, iostat, netstat, and ifstat in a single tool with colorful output.
Note: dstat is deprecated and no longer maintained. Consider using dool or other alternatives.

PARAMETERS

-c, --cpu

CPU statistics
-m, --mem
Memory statistics
-d, --disk
Disk statistics
-n, --net
Network statistics
--top-cpu
Process using most CPU
--top-mem
Process using most memory
--list
List available plugins

CAVEATS

Deprecated - consider using dool or sysstat tools instead. Plugin availability depends on system configuration.

SEE ALSO

vmstat(8), iostat(1), sar(1)

Copied to clipboard