nmon 介绍和使用

nmon最早产生在IBM 用来分析AIX系统的性能和状态,后移植到了linux。

1.安装:

 1016  wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
 1017  ll
 1018  yum install rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm 
 1019  yum search nmon
 1020  yum install -y nmon
我的系统信息:

root@test ~]# lsb_release -a
LSB Version:	:base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID:	CentOS
Description:	CentOS release 6.2 (Final)
Release:	6.2
Codename:	Final

2.简单的使用

lnmonq14gqqqqqqqqqqqqqqqqqqqqqHostname=testqqqqqqqqqRefresh= 2secs qqq18:10.49qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x                                                                                                                                    x
x  ------------------------------	For help type H or ...                                                                       x
x  #    #  #    #   ####   #    #        nmon -?  - hint                                                                             x
x  ##   #  ##  ##  #    #  ##   #        nmon -h  - full                                                                             x
x  # #  #  # ## #  #    #  # #  #                                                                                                    x
x  #  # #  #    #  #    #  #  # #	To start the same way every time                                                             x
x  #   ##  #    #  #    #  #   ##        set the NMON ksh variable                                                                   x
x  #    #  #    #   ####   #    #                                                                                                    x
x  ------------------------------                                                                                                    x
x                                                                                                                                    x
x  Use these keys to toggle statistics on/off:                                                                                       x
x     c = CPU        l = CPU Long-term   - = Faster screen updates                                                                   x
x     m = Memory     j = Filesystems     + = Slower screen updates                                                                   x
x     d = Disks      n = Network         V = Virtual Memory                                                                          x
x     r = Resource   N = NFS             v = Verbose hints                                                                           x
x     k = kernel     t = Top-processes   . = only busy disks/procs                                                                   x
x     h = more options                   q = Quit                                                                                    x
xqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx
x                                                                                                                                    x
x                                                                                                                                    x
x                                                                                                                                    x
x                                                                                                                                    x
x                                                                                                                                    x
x                                                                                                                                    x
x                                                                                                                                    x
x                                                                                                                                    x
x                                                                                                                                    x
x                                                                                                                                    x
x                                                                                                                                    x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

截图太麻烦了就复制了屏幕,只要的几个keys 如上所示,很好用。


参考链接:http://nmon.sourceforge.net/pmwiki.php?n=Site.ScreenShots

或者http://jingh3209.blog.163.com/blog/static/1569667200983105232896/


你可能感兴趣的:(性能)