[fly@localhost nmon]$ cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
运行 nmon 运行对应的文件
[fly@localhost nmon]$ ./nmon_x86_64_centos7
lnmonq16mqqqqqq[H for help]qqqHostname=localhostqqqqRefresh= 2secs qqq21:55.42qqqqqqqqqqqqqqqqqqqqqqqqqqqk
x x
x ------------------------------ x
x _ __ _ __ ___ ___ _ __ For helptype H or ... x
x |'_ \| '_ ` _ \ / _ \| '_ \ nmon -? - hint x
x |||||||||(_)|||| nmon -h - full details x
x |_||_|_||_||_|\___/|_||_| x
x To stop nmon type q to Quit x
x ------------------------------ x
x x
x CentOS Linux release 7.4.1708 (Core) VERSION="7 (Core)" x
x Vendor=AuthenticAMD Model=AMD A6-3420M APU with Radeon(tm) HD Graphics x
x MHz=1496.628 bogomips=2994.61 lscpu:CPU=4 Little Endian x
x ProcessorChips=2 PhysicalCores=2 Sockets=0 Cores=2 Thrds=1 x
x VirtualCPUs =4 MHz=0 max=0 min=0 x
x x
x Use these keys to toggle statistics on/off: x
x c = CPU l = CPU Long-term - = Faster screen updates x
x C = " WideView U = Utilisation + = Slower screen updates x
x m = Memory V = Virtual memory j = File Systems x
x d = Disks n = Network .= only busy disks/procs x
参数详解
q : 停止并退出 Nmon
h : 查看帮助
c : 查看 CPU 统计数据
m : 查看内存统计数据
d : 查看硬盘统计数据
k : 查看内核统计数据
n : 查看网络统计数据
N : 查看 NFS 统计数据
j : 查看文件系统统计数据
t : 查看高耗进程
V : 查看虚拟内存统计数据
v: 详细模式
[fly@localhost nmon]$ ./nmon_x86_64_centos7 --help
./nmon_x86_64_centos7: invalid option -- '-'
Hint for nmon_x86_64_centos7 version 16m
Full Help Info : nmon_x86_64_centos7 -h
On-screen Stats: nmon_x86_64_centos7
Data Collection: nmon_x86_64_centos7 -f [-s <seconds>][-c <count>][-t|-T]
Capacity Plan : nmon_x86_64_centos7 -x
Interactive-Mode:
Read the Welcome screen& at any time type: "h"formorehelp
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 fileinthen 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)
---- End of Hints
[fly@localhost nmon]$