zoukankan      html  css  js  c++  java
  • nmon 的下一代工具 njmon

    本文参考原文-http://bjbsair.com/2020-03-22/tech-info/2813.html
    njmon

    njmon = nmon + JSON format + real-time push to a stats database + instant graphing of “all the stats you can eat” (AIX and Linux)

    This njmon is a major overhaul of nmon for the next 10 years:

    • Load more stats

    • JSON format is self documenting, flexible and the performance stats format for many new tools

    • Direct real-time loading of the JSON into modern open source time aware databases

    • New age browser based graphing tools allow dynamic data choice and graph style per VM, per server or across the estateAll this will be covered and more including many demo’s.

    与 nmon 类似,但输出为 JSON 格式,可以用于服务器性能统计。

    nmon 的下一代工具 njmon

    原图链接:http://nmon.sourceforge.net/docs/nmon_why.png

    与 nmon 对比

    nmon 与 njmon 功能对比:

    nmon 的下一代工具 njmon

    分析工具对比:

    nmon 的下一代工具 njmon

    安装

    # 下载  
    $ wget http://sourceforge.net/projects/nmon/files/njmon_linux_binaries_v53.zip  
      
    # 解压  
    $ unzip njmon_linux_binaries_v53.zip  
      
    # 选择相应版本,放到 local 的 bin 下  
    $ mv njmon_linux_RHEL7_AMD64_v53 /usr/local/bin/njmon  
      
    # 验证  
    $ njmon -?  
    
    

    常用命令

    查看帮助

    $ njmon -?  
    
    

    间隔 5 分钟,采集一天

    $ njmon -s 300 -c 288 -f -m /tmp  
    
    

    说明:

    • -s:采集间隔时间,单位秒,默认 60 秒
    • -c:采集次数,默认永久
    • -f:输出到文件,数据内容:hostname.json,错误内容:hostname.err
    • -m:文件存储目录

    默认间隔时间(-s 60),保存 json 结果

    $ njmon > daodaotest.json  
    
    

    使用 njmon2chart 生成报告

    # 下载  
    $ wget http://sourceforge.net/projects/nmon/files/njmonchart_v40.zip  
      
    # 解压  
    $ unzip njmonchart_v40.zip  
      
    # 选择相应版本,放到 local 的 bin 下  
    $ mv njmonchart_linux_v40.py /usr/local/bin/njmonchart  
      
    # 添加执行权限  
    $ chmod +x /usr/local/bin/njmonchart  
      
    # 生成 html 报告  
    $ njmonchart daodaotest.json daodaotest.html  
    
    

    报告截图

    nmon 的下一代工具 njmon

    CPU 图表

    nmon 的下一代工具 njmon

    内存图表

    nmon 的下一代工具 njmon

    工具地图

    nmon 的下一代工具 njmon本文参考原文-http://bjbsair.com/2020-03-22/tech-info/2813/
    njmon

    njmon = nmon + JSON format + real-time push to a stats database + instant graphing of “all the stats you can eat” (AIX and Linux)

    This njmon is a major overhaul of nmon for the next 10 years:

    • Load more stats

    • JSON format is self documenting, flexible and the performance stats format for many new tools

    • Direct real-time loading of the JSON into modern open source time aware databases

    • New age browser based graphing tools allow dynamic data choice and graph style per VM, per server or across the estateAll this will be covered and more including many demo’s.

    与 nmon 类似,但输出为 JSON 格式,可以用于服务器性能统计。

    nmon 的下一代工具 njmon

    原图链接:http://nmon.sourceforge.net/docs/nmon_why.png

    与 nmon 对比

    nmon 与 njmon 功能对比:

    nmon 的下一代工具 njmon

    分析工具对比:

    nmon 的下一代工具 njmon

    安装

    # 下载  
    $ wget http://sourceforge.net/projects/nmon/files/njmon_linux_binaries_v53.zip  
      
    # 解压  
    $ unzip njmon_linux_binaries_v53.zip  
      
    # 选择相应版本,放到 local 的 bin 下  
    $ mv njmon_linux_RHEL7_AMD64_v53 /usr/local/bin/njmon  
      
    # 验证  
    $ njmon -?  
    
    

    常用命令

    查看帮助

    $ njmon -?  
    
    

    间隔 5 分钟,采集一天

    $ njmon -s 300 -c 288 -f -m /tmp  
    
    

    说明:

    • -s:采集间隔时间,单位秒,默认 60 秒
    • -c:采集次数,默认永久
    • -f:输出到文件,数据内容:hostname.json,错误内容:hostname.err
    • -m:文件存储目录

    默认间隔时间(-s 60),保存 json 结果

    $ njmon > daodaotest.json  
    
    

    使用 njmon2chart 生成报告

    # 下载  
    $ wget http://sourceforge.net/projects/nmon/files/njmonchart_v40.zip  
      
    # 解压  
    $ unzip njmonchart_v40.zip  
      
    # 选择相应版本,放到 local 的 bin 下  
    $ mv njmonchart_linux_v40.py /usr/local/bin/njmonchart  
      
    # 添加执行权限  
    $ chmod +x /usr/local/bin/njmonchart  
      
    # 生成 html 报告  
    $ njmonchart daodaotest.json daodaotest.html  
    
    

    报告截图

    nmon 的下一代工具 njmon

    CPU 图表

    nmon 的下一代工具 njmon

    内存图表

    nmon 的下一代工具 njmon

    工具地图

    nmon 的下一代工具 njmon

  • 相关阅读:
    python 的基础 学习 第六天 基础数据类型的操作方法 字典
    python 的基础 学习 第五天 基础数据类型的操作方法
    python 的基础 学习 第四天 基础数据类型
    ASP.NET MVC 入门8、ModelState与数据验证
    ASP.NET MVC 入门7、Hellper与数据的提交与绑定
    ASP.NET MVC 入门6、TempData
    ASP.NET MVC 入门5、View与ViewData
    ASP.NET MVC 入门4、Controller与Action
    ASP.NET MVC 入门3、Routing
    ASP.NET MVC 入门2、项目的目录结构与核心的DLL
  • 原文地址:https://www.cnblogs.com/lihanlin/p/12562600.html
Copyright © 2011-2022 走看看