nmon结果分析工具_nmon 的下一代工具 njmon

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 格式,可以用于服务器性能统计。

52bff2f7dc3cf5f5571fa2641868cf0c.png

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

与 nmon 对比

nmon 与 njmon 功能对比:

be66a4a4a0b6adba95c8e1e07fc69f13.png


分析工具对比:

66c04c1c6de2f2e89f2d9ee133e5f28c.png

安装

# 下载$ 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

报告截图

5d7071bd58692de3692009b25b8be3dc.png

CPU 图表

6ed93d1365aa324c08e402dc7dd27b00.png

内存图表

bcb8c310288b376ff7b1eb26ec8d30d0.png

工具地图

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值