dstat -- 多功能系统资源监控工具
2013-06-16 15:43
260 查看
目录
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://pkgs.repoforge.org/dstat/ 来自“http://wiki.51osos.com/index.php?title=Dstat&oldid=781”
相关文章推荐
- dstat-多功能的系统资源统计工具
- Linux如何安装使用dstat监控工具以监控系统
- Linux 三个强大的系统资源监控工具
- Linux下系统资源监控工具Collectl基本介绍
- Linux系统资源常用监控工具 推荐
- Linux ---CentOS系统资源常用监控工具
- 使用Dstat监控Linux系统资源
- 利用dstat来监控Linux系统资源使用情况——超级【赞】
- 6个实用的Linux系统资源监控工具
- linux实时监控或查看系统资源使用情况的工具——TOP
- 自学Linux运维工具1.2-多功能系统信息统计工具dstat
- 系统资源监控工具分类整理[记忆]
- Linux下系统资源监控工具Collectl基本介绍
- dstat - 一个查看系统实时资源利用率的好工具
- linux系统性能监控工具--htop与dstat介绍
- 6个实用的Linux系统资源监控工具
- Linux下系统资源监控工具Collectl基本介绍
- 6个监控linux系统资源的快速工具
- 全能系统监控工具dstat
- Linux下系统资源监控工具Collectl基本介绍