性能测试数据收集工具nmon

nmon下载及安装

  • 下载:在服务器的我的目录执行 wget http://mirror.ghettoforge.org/distributions/gf/el/6/gf/x86_64/nmon-14i-1.gf.el6.x86_64.rpm
  • 安装:rpm -ivh nmon-14i-1.gf.el6.x86_64.rpm

nmon执行

  • 运行命令nmon,进入nmon交互式页面
    • 按c进入cpu监控页面
    • 按m进入内存监控页面
    • d:I/O信息
    • 具体执行命令,经过h进入help查看
    • q:退出nmon

nmon生成报表

  • nmon -f -s 10 -c 60
    • -s 10:每隔10s收集一次数据
    • -c 60:收集60次数据
    • 备注:大概10min后收集完成,能够经过ps axu | grep nmon命令查看是否执行完成

nmon报表数据分析

  • [下载报表分析工具](https://www.ibm.com/developerworks/community/wikis/form/anonymous/api/wiki/61ad9cf2-c6a3-4d2c-b779-61ff0266d32a/page/b7fc61a1-eef9-4756-8028-6e687997f176/attachment/d32a74ae-0ab5-4abc-8e61-567b5f41c5e5/media/nmon_analyser_v51_2.zip)
  • 打开压缩包中的excel,建议使用office打开,选择刚刚生成的nmod文件,生成可视化的数据分析报告
相关文章
相关标签/搜索