查看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网卡配置