当前位置:网站首页>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
边栏推荐
- Configure ARP table entry restrictions and port security based on the interface (restrict users' private access to fool switches or illegal host access)
- 使用知行之桥的API端口,提供资源供合作伙伴访问
- Flutter: 动作反馈
- Connect Porsche and 3PL EDI cases
- 福元医药上交所上市:市值105亿 胡柏藩身价超40亿
- R and rstudio download and installation tutorial (super detailed)
- 人生的开始
- Vscode setting delete line shortcut [easy to understand]
- Use of openpose
- Day 18 of leetcode dynamic planning introduction
猜你喜欢

【Leetcode】13. Roman numeral to integer

How to transfer business data with BorgWarner through EDI?

Geoserver: publishing PostGIS data sources

Understand one article: four types of data index system

宝宝巴士创业板IPO被终止:曾拟募资18亿 唐光宇控制47%股权

Sword finger offer 21 Adjust the array order so that odd numbers precede even numbers

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

In MySQL and Oracle, the boundary and range of between and precautions when querying the date

一文看懂:数据指标体系的4大类型

如何与博格华纳BorgWarner通过EDI传输业务数据?
随机推荐
Seven charts, learn to do valuable business analysis
871. 最低加油次数
vscode设置删除行快捷键[通俗易懂]
Tech Talk 活动预告 | 基于Amazon KVS打造智能视觉产品
深度学习图像数据自动标注[通俗易懂]
13、Darknet YOLO3
L'explosion de John utilise l'encodage d'entrée par défaut: UTF - 8 Loaded 1 password Hash (bcrypt [blowfish 32 / 64 X3])
Geoserver: publishing PostGIS data sources
亚马逊云科技 Community Builder 申请窗口开启
Dgraph: large scale dynamic graph dataset
Interpretation of key parameters in MOSFET device manual
Usage of sprintf() function in C language
一文看懂:数据指标体系的4大类型
对接保时捷及3PL EDI案例
ETH数据集下载及相关问题
System Verilog implements priority arbiter
一年顶十年
2322. 从树中删除边的最小分数(异或和&模拟)
Detailed explanation of @accessories annotation of Lombok plug-in
DigiCert SSL证书支持中文域名申请吗?