当前位置:网站首页>Dstat use [easy to understand]
Dstat use [easy to understand]
2022-07-02 17:19:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
1、 install
Method 1 :yum
#yum install -y dstat
Method 2 :rpm
Official website download address :
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、 Parameters
-c, –cpu Show CPU situation
-C 0,3,total include cpu0, cpu3 and total
-d, –disk Display the disk status
-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 Display load
-m, –mem Show memory
-n, –net Show network status
-N eth1,total You can specify the network interface
-p, –proc process
-s, –swap Show swap situation
-S swap1,total You can specify multiple swap
-t, –time current time
-y, –sys enable system stats
–ipc The report IPC Message queue and semaphore usage
–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 Use -cdngy This is the default display
-f, –full Use -C, -D, -I, -N and -S Show
-v, –vmstat Use -pmgdsc -D Show
–integer show integer values
–nocolor disable colors (implies –noupdate)
–noheaders The meter head will not be displayed after it is displayed only once , Useful when writing to a file using redirection
–noupdate disable intermediate updates
–output file Write to CVS In file
dstat -cdlmnpsy
3、 Use
perform dstat command , By default, it collects -cpu-、-disk-、-net-、-paging-、-system- The data of , Collect once a second
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/148026.html Link to the original text :https://javaforall.cn
边栏推荐
- Ap和F107数据来源及处理
- 剑指 Offer 26. 树的子结构
- What if the default browser cannot be set?
- Green bamboo biological sprint Hong Kong stocks: loss of more than 500million during the year, tiger medicine and Beijing Yizhuang are shareholders
- 移动应用性能工具探索之路
- LeetCode:1380. Lucky number in matrix -- simple
- Just a coincidence? The mysterious technology of apple ios16 is even consistent with the products of Chinese enterprises five years ago!
- 亚马逊云科技 Community Builder 申请窗口开启
- 一文看懂:数据指标体系的4大类型
- OpenPose的使用
猜你喜欢

OpenHarmony如何启动远程设备的FA

Use the API port of the bridge of knowledge and action to provide resources for partners to access

Configure MySQL under Linux to authorize a user to access remotely, which is not restricted by IP

Error when uploading code to remote warehouse: remote origin already exists

Sword finger offer 26 Substructure of tree
![[error record] error -32000 received from application: there are no running service protocol](/img/6c/66099650de46cac88b805e6cfb90b9.jpg)
[error record] error -32000 received from application: there are no running service protocol

A few lines of code to complete RPC service registration and discovery

Qwebengineview crash and alternatives

2020 "Lenovo Cup" National College programming online Invitational Competition and the third Shanghai University of technology programming competition (a sign in, B sign in, C sign in, D thinking +mst

Blog theme "text" summer fresh Special Edition
随机推荐
Sword finger offer 21 Adjust the array order so that odd numbers precede even numbers
几行代码搞定RPC服务注册和发现
Shutter: action feedback
[essay solicitation activity] Dear developer, RT thread community calls you to contribute
The poor family once again gave birth to a noble son: Jiangxi poor county got the provincial number one, what did you do right?
Flutter: 动作反馈
深度之眼(二)——矩阵及其基本运算
linux下配置Mysql授权某个用户远程访问,不受ip限制
畅玩集团冲刺港股:年营收2.89亿 刘辉有53.46%投票权
Amazon cloud technology community builder application window opens
A few lines of code to complete RPC service registration and discovery
PhD battle-11 preview | review and prospect backdoor attack and defense of neural network
Believe in yourself and finish the JVM interview this time
ThreadLocal
深度之眼(三)——矩阵的行列式
Baobab's gem IPO was terminated: Tang Guangyu once planned to raise 1.8 billion to control 47% of the equity
What if the default browser cannot be set?
[leetcode] 14. Préfixe public le plus long
VMware install win10 image
【Leetcode】13. 罗马数字转整数