当前位置:网站首页>dstat使用[通俗易懂]
dstat使用[通俗易懂]
2022-07-02 14:43:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
1、安装
方法一:yum
#yum install -y dstat
方法二:rpm
官网下载地址:
http://dag.wieers.com/rpm/packages/dstat
#wget http://dag.wieers.com/rpm/packages/dstat/dstat-0.6.7-1.rh7.rf.noarch.rpm
#rpm -ivh dstat-0.6.7-1.rh7.rf.noarch.rpm
2、参数
-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 显示负载
-m, –mem 显示内存情况
-n, –net 显示网络情况
-N eth1,total 可以指定网络接口
-p, –proc 进程
-s, –swap 显示swap情况
-S swap1,total 可以指定多个swap
-t, –time 当前时间
-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文件中
dstat -cdlmnpsy
3、使用
执行 dstat 命令,默认情况它会收集-cpu-、-disk-、-net-、-paging-、-system-的数据,一秒钟收集一次
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/148026.html原文链接:https://javaforall.cn
边栏推荐
- Cell: Tsinghua Chenggong group revealed an odor of skin flora. Volatiles promote flavivirus to infect the host and attract mosquitoes
- 入行数字IC验证后会做些什么?
- PhD battle-11 preview | review and prospect backdoor attack and defense of neural network
- 基于多元时间序列对高考预测分析案例
- LSF basic command
- 871. Minimum refueling times
- Timing / counter of 32 and 51 single chip microcomputer
- Sword finger offer 27 Image of binary tree
- 学习周刊-总第60期-2022年第25周
- John blasting appears using default input encoding: UTF-8 loaded 1 password hash (bcrypt [blowfish 32/64 x3])
猜你喜欢

剑指 Offer 22. 链表中倒数第k个节点

PhD battle-11 preview | review and prospect backdoor attack and defense of neural network

871. Minimum refueling times

福元医药上交所上市:市值105亿 胡柏藩身价超40亿
![john爆破出現Using default input encoding: UTF-8 Loaded 1 password hash (bcrypt [Blowfish 32/64 X3])](/img/4c/ddf7f8085257d0eb8766dbec251345.png)
john爆破出現Using default input encoding: UTF-8 Loaded 1 password hash (bcrypt [Blowfish 32/64 X3])

深度之眼(二)——矩阵及其基本运算

寒门再出贵子:江西穷县考出了省状元,做对了什么?

Believe in yourself and finish the JVM interview this time

你想要的宏基因组-微生物组知识全在这(2022.7)

Amazon cloud technology community builder application window opens
随机推荐
Soul, a social meta universe platform, rushed to Hong Kong stocks: Tencent is a shareholder with an annual revenue of 1.28 billion
Detailed explanation of @accessories annotation of Lombok plug-in
Sword finger offer 24 Reverse linked list
深度之眼(二)——矩阵及其基本运算
Cell:清华程功组揭示皮肤菌群的一种气味挥发物促进黄病毒感染宿主吸引蚊虫...
福元医药上交所上市:市值105亿 胡柏藩身价超40亿
Green bamboo biological sprint Hong Kong stocks: loss of more than 500million during the year, tiger medicine and Beijing Yizhuang are shareholders
Sword finger offer 27 Image of binary tree
深度之眼(三)——矩阵的行列式
相信自己,这次一把搞定JVM面试
DigiCert SSL证书支持中文域名申请吗?
宝宝巴士创业板IPO被终止:曾拟募资18亿 唐光宇控制47%股权
js删除字符串中的子串
[error record] error -32000 received from application: there are no running service protocol
linux下配置Mysql授权某个用户远程访问,不受ip限制
OpenPose的使用
有赞和腾讯云、阿里云一同摘得“中国企业云科技服务商50强”[通俗易懂]
Leetcode1380: lucky numbers in matrix
Seven charts, learn to do valuable business analysis
lsf基础命令