Install
mkdir /usr/local/nmon cd /usr/local/nmon wget http://sourceforge.net/projects/nmon/files/nmon_linux_14i.tar.gz tar zxvf nmon_linux_14i.tar.gz chmod 777 nmon_x86_64_sles11
start up
./nmon_x86_64_sles11
illustrate:
Press C to display CPU information, press C again to close
Press M to display memory
Press N to show network
Press D to display the hard disk
Generate nmon report
./nmon_x86_64_sles11 -s10 -c60 -f -m /usr/local
Parameter explanation:
-s10 Collect data every 10 seconds.
-c60 Collect 60 times, that is, collect ten minutes of data.
-f Generated data file names include the time the file was created.
-m The storage directory of the generated data files.
Generate reports
Download nmon analyser Download address: http://pan.baidu.com/s/1sk5INdN
Take the *.nmon file in the /usr/local/ directory to the WINDOWS machine, open the analysis tool nmon analyser v46.xlsm with Excel, click the "Analyze nmon data" button to load the nmon file, this will generate an analysis result document.
Note: Clicking the "Analyze nmon data" button requires Excel macros to be enabled.
The following are the generated test results