Article From:https://www.cnblogs.com/qiaoli0726/p/9122971.html

One, nmon installation tool download:
1、nmonTools:
http://nmon.sourceforge.net/pmwiki.php?n=Site.Download
2、nmon analyserTools:
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Power%20Systems/page/nmon_analyser
Two, nmon installation:
1:Under the current user of the Linux server, create a new directory, command: MKDIR nmon
2:Upload the download package to FTP, upload it to /nmon, or copy it to /nmon directory through other media.
3:Uninstall the installation package: tar -xzvf nmon16e_mpginc.tar.gz
To unzip the related command operation:
tar -xvf file.tar //Unzip the tar package
tar -xzvf file.tar.gz //Unzip tar.gz
tar -xjvf file.tar.bz2   //Unzip tar.bz2
tar -xZvf file.tar.Z   //Unzip tar.Z
unrar e file.rar //Unzip rar
unzip file.zip //Unzip zip
4:Rename the decompressed file nmon_x86_64_sles11: MV nmon_x86_64_sles11 nmon
5:Permissions to the file: Chmod 777 nmon
6:Execute commands in the /home/user/nmon Directory:./nmon
Entering the nmon real-time monitoring page

 

Two: monitoring information generation Report
1:Execute commands under the /home/user/nmon path:
1.1:./nmon -F wqlebsbatch01.nmon -t -s 30 -c 180
After entering the command, a wqlebsbatch01.nmon file will be generated automatically in the current directory.
1.2:./nmon -f -s 30 -c 120
After entering the command, a.Nmon file will be generated automatically in the current directory. (the naming method of the nmon output file is the server name date time.Nmon).

l-f:Output files in standard format: < hostname> _YYYYMMDD_HHMM.nmon;
l-t:The process of high occupancy is included in the output.
l-s30:A data acquisition every 30 seconds
l-c180:180 times in total

Three: analysis of the results
1:Download and install the nmon analyser tool

 

2、The collected.Nmon files are downloaded from the server to the local area and opened with nmon16e_mpginc.

3:Report the sheet meaning of each module

 

4:Memory calculation formula:
Available memory: free memory, +cached memory, +buffers memory.
Memory utilization = available memory / total memory

Leave a Reply

Your email address will not be published. Required fields are marked *