top命令
2017-10-18top命令display Linux processes
1、top命令
执行top 命令,按Shift+P可以按CPU排序,按Shift+M按内存排序,按1可以显示cpu情况
2、htop命令
yum -y install ncurses ncurses-devel
否则会出现configure: error: missing libraries: libncurses
wget http://sourceforge.net/projects/htop/files/latest/download -P htop.gz
cd htop-1.0.2
./configure && make && make install
which htop
/usr/local/bin/htop
3、iftop
iftop可以用来监控网卡单个IP的实时流量
yum -y install iftop
rpm -ivh http://rpmfind.net/linux/dag/redhat/el5/en/x86_64/dag/RPMS/iftop-1.0-0.pre3.el5.rf.x86_64.rpm
4、nmon可以监测硬盘/CPU/网络的IO情况
分类:Linux | 标签: |