The Nmon tool is an IBM free monitoring and analysis tool that is widely used on AIX and various Linux operating systems. The tool collects the server's system resource consumption and outputs a specific file, and can use the Excel analysis tool Nmon_analyser to perform statistical analysis of the data. Also, Nmon runs without excessive system resources, typically with no more than 2% CPU usage. For different operating system versions, Nmon has a corresponding version of the program.
Download
Nmon in 51cto (recommended download): http://down.51cto.com/data/1904368
can also be downloaded on the official website:
Nmonhttp://sourceforge.jp/projects/sfnet_nmon/downloads/nmon_linux_14i.tar.gz
Nmon Analyser:
https://www.ibm.com/developerworks/community/wikis/form/anonymous/api/wiki/ 61ad9cf2-c6a3-4d2c-b779-61ff0266d32a/page/b7fc61a1-eef9-4756-8028-6e687997f176/attachment/ 721e9797-b5fc-41d7-9b2f-5bd2aa2c8f7d/media/nmon_analyser_34a.zip
2.nmon use
Upload the downloaded nmon_linux_14i.tar.gz software to the Linux server development directory that needs to be monitored
[email protected] nmon]# LL
Total 4396
-rw-r--r--1 root root 4487558 Nov 07:40 nmon_linux_14i.tar.gz
[Email protected] nmon]# TAR-ZXVF nmon_linux_14i.tar.gz
[Email protected] nmon]# uname-a
Linux gflinux4 2.6.18-238.el5 #1 SMP Sun Dec 14:24:47 EST i686 i686 i386 gnu/linux
[Email protected] nmon]#/nmon_x86_gnu_2.0.0-f-S 20-c 150
./nmon_x86_gnu_2.0.0:error while loading shared libraries:libtinfo.so.5:cannot open Shared object file:no such file or Directory
Choose to use the program, such as NMON_X86_DSL , if not sure, you can try a few more.
[Email protected] nmon]#/nmon_x86_dsl-f-S 20-c 150
[[email protected] nmon]# ls
Gflinux4_141127_0743.nmon
3. Analyzing the Nmon output file
Analyze Nmon output file with Nmon_analyser Gflinux4_141127_0743.nmon
3.1 Decompression Nmon_analyser_34a.zip
Unzip the file first
3.2 Enable "analyse Nmon data" feature
Open Nmon analyser v34a.xls,650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M01/54/0F/ Wkiol1r22wfwocggaan8szwvipi701.jpg "title=" qq20141127155355.jpg "alt=" Wkiol1r22wfwocggaan8szwvipi701.jpg "/>
Click the "Options" button next to "Security Warning" below the toolbar, and when the Security Warning dialog box pops up, select the "Enable this content" radio box and choose the "OK" button.
The "Analyse Nmon data" feature is activated.
3.3 Import Nmon output text and produce new text
Click the Analyse Nmon Data button to import the text of the Nmon output. It is possible to eject "replace ..." and click "Yes".
Also, generate a file with the same name as the imported text and add the suffix. xlsx.
Shaped like:
The source file is Gflinux4_141127_0743.nmon,
The resulting analysis file is: gflinux4_141127_0743.nmon.xlsx
Use of Nmon and Nmon_analyser