Linux监控工具dstat
来源:互联网 发布:淘宝跳转play商店 编辑:程序博客网 时间:2024/05/11 22:42
dstat是一个用来替换 vmstat,iostat netstat,nfsstat和ifstat这些命令的工具, 是一个全能系统信息统计工具. 与sysstat相比, dstat拥有一个彩色的界面, 在手动观察性能状况时, 数据比较显眼容易观察; 而且dstat支持即时刷新, 譬如输入dstat 3, 即每三秒收集一次, 但最新的数据都会每秒刷新显示. 和sysstat相同的是, dstat也可以收集指定的性能资源, 譬如 dstat -c 即显示CPU的使用情况.
官网:http://dag.wiee.rs/home-made/dstat/
安装
# yum install -y dstat
# dstat --help
Usage: dstat [-afv] [options..] [delay [count]]Versatile tool for generating system resource statisticsDstat options: -c, --cpu enable cpu stats -C 0,3,total include cpu0, cpu3 and total -d, --disk enable disk stats -D total,hda include hda and total -g, --page enable page stats -i, --int enable interrupt stats -I 5,eth2 include int5 and interrupt used by eth2 -l, --load enable load stats -m, --mem enable memory stats -n, --net enable network stats -N eth1,total include eth1 and total -p, --proc enable process stats -r, --io enable io stats (I/O requests completed) -s, --swap enable swap stats -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 list all available plugins -a, --all equals -cdngy (default) -f, --full automatically expand -C, -D, -I, -N and -S lists -v, --vmstat equals -pmgdsc -D total --bw, --blackonwhite change colors for white background terminal --float force float values on screen --integer force integer values on screen --nocolor disable colors (implies --noupdate) --noheaders disable repetitive headers --noupdate disable intermediate updates --output file write CSV output to filedelay is the delay in seconds between each update (default: 1)count is the number of updates to display before exiting (default: unlimited)
查看CPU信息
#dstat -c
-m, -mem 显示内存情况
-n, -net 显示网络情况
-N eth1,total 可以指定网络接口
-d, -disk 显示磁盘情况
-ipc 报告IPC消息队列和信号量的使用情况
0 0
- Linux监控工具dstat
- Linux性能监控工具dstat
- Linux终端监控工具dstat
- Linux dstat 综合监控工具
- dstat linux监控工具的使用
- Linux终端下 dstat 监控工具
- Linux终端下 dstat 监控工具
- Linux终端下 dstat 监控工具
- Linux终端下 dstat 监控工具
- Linux 终端下 dstat 监控工具
- Linux终端下 dstat 监控工具
- linux下dstat监控
- Linux下比较全面的监控工具dstat
- Linux下很全面的监控工具dstat
- 嵌入式 Linux下比较全面的监控工具dstat
- Linux下比较全面的监控工具dstat
- Linux下很全面的监控工具dstat
- Linux下比较全面的监控工具dstat
- Java和C#对比
- SICP 习题 (1.34)解题总结
- 程序员的心理疾病
- SICP 习题 (1.35)解题总结
- permutation I & II
- Linux监控工具dstat
- 中介者模式(Mediator Pattern)
- 《30天自制操作系统》学习笔记——第六天
- CSS(续)--案例
- 自学制作贪吃蛇
- JS实现打字效果
- SICP 习题 (1.36)解题总结
- 网络游戏的对时以及同步问题
- 初学大数据