After the download is complete. Execute the following command:
#./nmon-f-t-s 30-c 180
-F output files in standard format:
-T outputs include high-occupancy processes
-S30: Data acquisition every 30 seconds, default is 2
-C180: Collected 180 times by default is 1000000
-F: Specify the file name-F 1.nmod
-M: Specify the path-m/opt
You can convert the Nmon result file to a CSV file by using the sort command:
# sort-a Test1_090308_1313.nmon > Test1_090308_1313.csv
The Nmon Analyser.xls tool can be used to convert the monitoring result file into Excel file, which makes it easy to analyze the resource occupancy of the system.
1, open Nmon analyser.xls tools;
2. Adjust Excel Macro security: Tools-Macros-security
(Modify security level and reliable publishers)
(selection) Security level: Low
(tick) Trust all installed add-ins and templates
(tick) Trust access to the Visual Baisc project
3. After modification, confirm-close Nmon Analyser.xls, reopen;
4. Click the Analyse Nmon Data button to load the previously downloaded test1_090308_1313.csv file.
There are a lot of data and graphs in the analysis results, and the main performance parameter images are briefly introduced.
1 System rollup (' Sys_summ ' for Excel tags)
The Blue Line is the change of CPU occupancy;
Pink is the change of disk IO;
2 summary of disk reads and writes (corresponding to the ' Disk_summ ' of the Excel tag)
Blue for disk read rate kb/sec
Purple for disk write rate kb/sec
3 Memory Summary (' MEM ' corresponding to Excel tag)
Curve indicates amount of memory remaining (MB)
Linux System resource Monitoring-nmon