首页 > 系统服务 > 详细

Linux 性能监控

时间:2017-07-13 13:21:06      阅读:333      评论:0      收藏:0      [点我收藏+]

查看I/O:

1, top

us: is meaning of "user CPU time"
sy: is meaning of "system CPU time"
ni: is meaning of" nice CPU time"
id: is meaning of "idle"
wa: is meaning of "iowait"
hi:is meaning of "hardware irq"
si : is meaning of "software irq"
st : is meaning of "steal time"

中文翻译为:

us 用户空间占用CPU百分比
sy 内核空间占用CPU百分比
ni 用户进程空间内改变过优先级的进程占用CPU百分比
id 空闲CPU百分比
wa 等待输入输出的CPU时间百分比
hi 硬件中断
si 软件中断


2, iotop

3, ps -eo stat,pid,cmd, 查看D状态的进程,出问题的

4,lsof -p pid 查看进程在读什么文件

5,查看磁盘读写I/O iostat

6,sar -n DEV 查看网卡流量, iptraf命令是图形化的监控ip流量命令

7, sar -u cpu

8, sar -r 内存

9, 查看某个进程正在使用的内存,可执行的虚拟内存信息,cat/proc/pid/statm,输出5个数字

10,swapon -s查看swap分区使用情况

11, ethtool eth0, 显示eth网卡配置


Linux 性能监控

原文:http://10851095.blog.51cto.com/10841095/1947037

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!