Linux-系统管理-dstat
来源:互联网 发布:js对象属性的访问方法 编辑:程序博客网 时间:2024/06/05 22:30
简评:界面友好,保护视力
1) 工具说明
下载安装文件dstat-0.6.7-1.el*.rf.noarch.rpm: http://dag.wieers.com/rpm/packages/dstat/
2) 软件安装# cd /tmp
# rz (上传安装包)# rpm -Uvh dstat-0.6.7-1.el*.rf.noarch.rpm# which dstat
/usr/bin/dstat
3) 使用示例# dstat
安装完成后, 执行 dstat 命令, 默认情况它会收集-cpu-,-disk-,-net-,-paging-,-system-的数据, 一秒钟收集一次. 默认输入dstat等于输入了dstat -cdngy 1或dstat -a 1. 推荐使用 date && dstat -tclmdny 60 一分钟监视一次(注意调节显示的宽度, 或去掉-t选项).
4) dstat 选项-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文件中
这个软件和vmstat很像, 不过和vmstat相比好像少了io部份的显示, dstat只能显示磁盘的吞吐量而不是显示负载情况, dstat和几乎所有监控软件一样, 只能对整个系统进行监控而不能对某一个进程或某一个程序进行深入分析. 我常使用的参数是dstat -cdlmnpsy, 做个别名链接alias dstat=’dstat -cdlmnpsy’
- Linux-系统管理-dstat
- Linux监控工具dstat
- linux下dstat监控
- linux命令---dstat
- 【系统管理】LINUX系统管理相关
- dstat
- dstat
- dstat
- dstat
- dstat
- dstat
- 使用Dstat监控Linux系统资源
- linux 性能检测工具之 dstat
- linux 性能检测工具之 dstat
- Linux性能监控工具dstat
- Linux终端监控工具dstat
- Linux dstat 综合监控工具
- linux dstat,slurm,ccze 安装
- BZOJ1233【usaco open 2009】干草堆 tower
- EM算法及其扩展
- arrays.sort用法arrays.fill用法arrays.equals用法
- java io InputStream 转 byte
- HND pentest
- Linux-系统管理-dstat
- HDU 4004 The Frog's Games(二分)
- 3. Longest Substring Without Repeating Characters--2016/09/19
- 京东面试算法题-爬山
- JavaScript-05
- PAT乙级.1040. 有几个PAT(25)
- 时间戳转换成时间 php
- 树状数组优化dp——nkoj3771公共汽车
- 《开源应用架构》读书笔记:分布式Web系统设计原则