Dstat linux管理工具用法
2013-03-28 13:09
441 查看
Dstat
来自Linux Wiki跳转到: 导航, 搜索
dstat -- 多功能系统资源监控工具。
目录[隐藏]1 语法 2 补充说明 3 参数 4 相关命令 5 实例 6 相关链接 |
语法
dstat [-afv] [options..] [delay [count]]
补充说明
安装完成后,执行 dstat 命令,默认情况它会收集-cpu-、-disk-、-net-、-paging-、-system-的数据,一秒钟收集一次。 默认输入 dstat 等于输入了dstat -cdngy 1或dstat -a 1参数
-c, -cpu 显示CPU情况-C 0,3,total include cpu0, cpu3 and total
-d, -disk 显示磁盘情况
-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 显示内存情况
-n, -net 显示网络情况
-N eth1,total 可以指定网络接口
-p, -proc enable process stats
-s, -swap 显示swap情况
-S swap1,total 可以指定多个swap
-t, -time enable time counter
-y, -sys enable system stats
-ipc 报告IPC消息队列和信号量的使用情况
-lock enable lock stats
-raw enable raw stats
-tcp enable tcp stats
-udp enable udp stats
-unix enable unix stats
-M stat1,stat2 enable external stats
-mods stat1,stat2
-a, -all 使用-cdngy 缺省的就是这样显示
-f, -full 使用 -C, -D, -I, -N and -S 显示
-v, -vmstat 使用-pmgdsc -D 显示
-integer show integer values
-nocolor disable colors (implies -noupdate)
-noheaders 只显示一次表头以后就不显示了,使用重定向写入文件时很有用
-noupdate disable intermediate updates
-output file 写入到CVS文件中
相关命令
top实例
# dstat -cdlmnpsy ----total-cpu-usage---- -dsk/total- ---load-avg--- ------memory-usage----- -net/total- ---procs--- ----swap--- ---system-- usr sys idl wai hiq siq| read writ| 1m 5m 15m | used buff cach free| recv send|run blk new| used free| int csw 0 0 100 0 0 0| 23k 3919B| 0 0 0|70.7M 16.3M 156M 248M| 0 0 | 0 0 0.5| 0 992M| 20 24 0 0 100 0 0 0| 0 0 | 0 0 0|70.7M 16.3M 156M 248M| 60B 512B| 0 0 0| 0 992M| 27 27
# date && dstat -tclmdny 60 Fri Jan 6 16:52:25 CST 2012 ----system---- ----total-cpu-usage---- ---load-avg--- ------memory-usage----- -dsk/total- -net/total- ---system-- date/time |usr sys idl wai hiq siq| 1m 5m 15m | used buff cach free| read writ| recv send| int csw 06-01 16:52:25| 0 0 100 0 0 0| 0 0 0|70.9M 16.3M 156M 247M| 23k 3803B| 0 0 | 20 23 06-01 16:53:25| 0 0 100 0 0 0| 0 0 0|70.9M 16.3M 156M 247M| 0 273B| 7B 39B| 13 19 06-01 16:54:25| 0 0 100 0 0 0| 0 0 0|70.9M 16.3M 156M 247M| 0 273B| 28B 36B| 13 19
相关链接
dstat下载地址来自“http://wiki.51osos.com/index.php?title=Dstat&oldid=781”
1个分类:
D
查看
页面
讨论
查看源代码
历史
个人工具
登录
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
搜索
工具箱
链入页面
链出更改
特殊页面
永久链接
本页面最后修订于2012年1月6日 (星期五) 19:37。
此页面已被浏览过1,431次。
本站全部文字内容使用知识共享署名-相同方式分享授权。
隐私权政策
关于Linux Wiki
免责声明
相关文章推荐
- rpmsign命令_Linux rpmsign 命令用法详解:使用RPM软件包的签名管理工具
- dpkg-deb命令_Linux dpkg-deb 命令用法详解:Debian Linux下的软件包管理工具
- 关于Ubuntu/debian下软件包管理工具用法和Redhat/CentOS系列的比较
- git版本管理工具用法介绍
- Python的批量远程管理和部署工具Fabric用法实例
- Pacemaker中的资源管理工具--CRM基本指令及用法
- Subversion版本管理工具服务器搭建与基本用法
- git工具用法 && git管理googlecode
- Linux防火墙管理工具iptables常用参数及用法示例
- python 包管理工具pip基本用法
- rpm命令_Linux rpm 命令用法详解:RPM软件包的管理工具
- xen虚拟机管理工具xm与virsh用法
- xen虚拟机管理工具xm与virsh用法
- Rapidsvn 版本管理客户端工具简单用法
- gpasswd命令_Linux gpasswd 命令用法详解:Linux下工作组文件的管理工具
- smbpasswd命令_Linux smbpasswd 命令用法详解:samba用户和密码管理工具
- 证书创建和管理工具 Keytool用法总结
- xen虚拟机管理工具xm与virsh用法
- squidclient命令_Linux squidclient 命令用法详解:squid服务器的客户端管理工具
- Gentoo 中包管理工具 emerge、eix、equery的基本用法