nmon系统监控

安装nmon

#sudo yum install nmon

运行nmon

#nmon
┌nmon─14i──────[H for help]───Hostname=xxxx-D144-020Refresh= 2secs ───12:31.06─┐
│                                                                              │
│  ------------------------------   For help type H or ...                 │
│  #    #  #    #   ####   #    #        nmon -?  - hint                       │
│  ##   #  ##  ##  #    #  ##   #        nmon -h  - full                       │
│  # #  #  # ## #  #    #  # #  #                                              │
│  #  # #  #    #  #    #  #  # #   To start the same way every time       │
│  #   ##  #    #  #    #  #   ##        set the NMON ksh variable             │
│  #    #  #    #   ####   #    #                                              │
│  ------------------------------                                              │
│                                                                              │
│  x86 GenuineIntel Intel Xeon E312xx (Sandy Bridge)                           │
│  x86 MHz=1999.999 bogomips=3999.99                                           │
│  x86 ProcessorChips=0 PhyscalCores=0                                         │
│  x86 Hyperthreads  =0 VirtualCPUs =4                                         │
│                                                                              │
│  Use these keys to toggle statistics on/off:                                 │
│     c = CPU        l = CPU Long-term   - = Faster screen updates             │
│     m = Memory     j = Filesystems     + = Slower screen updates             │
│     d = Disks      n = Network         V = Virtual Memory                    │
│     r = Resource   N = NFS             v = Verbose hints                     │
│     k = kernel     t = Top-processes   . = only busy disks/procs             │
│     h = more options                   q = Quit    

生成nmon报告

  • 采集数据:

    
    #nmon -s10 -c60 -f -m /home/
    

    参数解释:
    -s10 每 10 秒采集一次数据。
    -c60 采集 60 次,即为采集十分钟的数据。
    -f 生成的数据文件名中包含文件创建的时间。
    -m 生成的数据文件的存放目录。
    这样就会生成一个 nmon 文件,并每十秒更新一次,直到十分钟后。
    生成的文件名如: _090824_1306.nmon ,”” 是这台主机的主机名。
    nmon -h查看更多帮助信息。

  • 生成报表:
    下载 nmon analyser (生成性能报告的免费工具):
    https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Power%20Systems/page/nmon_analyser

参考文章:
nmon 性能:分析 AIX 和 Linux 性能的免费工具:
http://www.ibm.com/developerworks/cn/aix/library/analyze_aix/index.html
nmon analyser —— 生成 AIX 性能报告的免费工具:
http://www.ibm.com/developerworks/cn/aix/library/nmon_analyser/index.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值