Contents
  1. 1. nmon
  2. 2. njmon
  3. 3. nload
  4. 4. iperf

nmon

nmon
https://nmon.sourceforge.net/pmwiki.php?n=Site.Download

nmon analyser
https://nmon.sourceforge.net/pmwiki.php?n=Site.Nmon-Analyser

https://nmonvisualizer.github.io/nmonvisualizer/

1
2
3
4
5
6
7
8
9
10
11
12
13
Interactive-Mode:
Read the Welcome screen & at any time type: "h" for more help
Type "q" to exit nmon

For Data-Collect-Mode
-f Must be the first option on the line (switches off interactive mode)
Saves data to a CSV Spreadsheet format .nmon file in then local directory
Note: -f sets a defaults -s300 -c288 which you can then modify
Further Data Collection Options:
-s <seconds> time between data snapshots
-c <count> of snapshots before exiting
-t Includes Top Processes stats (-T also collects command arguments)
-x Capacity Planning=15 min snapshots for 1 day. (nmon -ft -s 900 -c 96)

常用命令:

  • nmon -f -s 5 -c 60

njmon

https://nmon.sourceforge.net/pmwiki.php?n=Site.Njmon

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

常用命令:

  • njmon -?
  • njmon -s 5 -c 60 -f -m /tmp

njmonchart

https://nmon.sourceforge.net/pmwiki.php?n=Site.Njmon 页面搜索

njmon > daodaotest.json
mv njmonchart_linux_v40.py /usr/local/bin/njmonchart
chmod +x /usr/local/bin/njmonchart
njmonchart daodaotest.json daodaotest.html

nload

iperf