dstat is a versatile replacement for vmstat, iostat, netstat and ifstat. dstat overcomes some of their limitations and adds some extra features, more counters and flexibility. dstat is handy for monitoring systems during performance tuning tests, benchmarks or troubleshooting.[1]
Documentation
Syntax
dstat [PARAMETER ...] [INTERVAL [COUNT]]
Parameters
- --list
- List all available plugins.
- -c, --cpu
- Enable cpu stats (system, user, idle, wait, hardware interrupt, software interrupt).
- -d, --disk
- Enable disk stats (read, write).
- -g, --page
- Enable page stats (page in, page out).
- -i, --int
- Enable interrupt stats.
- -l, --load
- Enable load average stats (1 min, 5 mins, 15mins).
- -m, --mem
- Enable memory stats (used, buffers, cache, free).
- -n, --net
- Enable network stats (receive, send).
- -s, --swap
- Enable swap stats (used, free).
- -y, --sys
- Enable system stats (interrupts, context switches).
- --tcp
- Enable tcp stats (listen, established, syn, time_wait, close).
- --udp
- Enable udp stats (listen, active).
References