1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
| Options: -c, --cpu 显示CPU状态(system, user, idle, wait, hardware interrupt, software interrupt) -C 0,1,total 显示多核CPU状态,如显示cpu0, cpu1 and total状态,需要配合-c选项一起使用 -d, --disk 显示磁盘状态 -D sda,total 显示多块磁盘状态,需要配合-d选项一起使用 -g, --page enable page stats -i, --int enable interrupt stats -I 5,eth2 include int5 and interrupt used by eth2 -l, --load 显示系统负载 -m, --mem 显示内存状态 -n, --net 显示网络状态 -N eth1,total 显示指定网卡状态 -p, --proc 显示进程状态 -r, --io enable io stats (I/O requests completed) -s, --swap 显示swap状态 -S swap1,total include swap1 and total -t, --time enable time/date output -T, --epoch enable time counter (seconds since epoch) -y, --sys enable system stats
--aio enable aio stats --fs, --filesystem enable fs stats --ipc enable ipc stats --lock enable lock stats --raw enable raw stats --socket enable socket stats --tcp enable tcp stats --udp enable udp stats --unix enable unix stats --vm enable vm stats
--plugin-name enable plugins by plugin name (see manual) --list 显示所有可用插件
-a, --all equals -cdngy (default) -f, --full automatically expand -C, -D, -I, -N and -S lists -v, --vmstat equals -pmgdsc -D total
--bits force bits for values expressed in bytes --float force float values on screen --integer force integer values on screen
--bw, --blackonwhite change colors for white background terminal --nocolor disable colors (implies --noupdate) --noheaders disable repetitive headers --noupdate disable intermediate updates --output file write CSV output to file --profile show profiling statistics when exiting dstat
delay is the delay in seconds between each update (default: 1) count is the number of updates to display before exiting (default: unlimited)
PLUGINS --top-bio show most expensive block I/O process --top-cpu show most expensive CPU process --top-cpu-adv show most expensive CPU process (incl. pid and other stats) --top-cputime show process using the most CPU time (in ms) --top-cputime-avg show process with the highest average timeslice (in ms) --top-io show most expensive I/O process --top-io-adv show most expensive I/O process (incl. pid and other stats) --top-mem show process using the most memory
|