Nmon Monitoring Linux Performance
One, download Nmon compressed package,: http://download.csdn.net/download/fhqsse220/6699865
Second, installation method:
1, nmon_linux14i.tar.gz decompression and put into Linux, such as the root directory test under the Nmon folder;
2, enter the Nmon folder to assign all the files executable permissions, such as: chmod 777 *;
third, real-time monitoring methods:
1. Enter the Nmon directory: Cd/test/nmon
2, Run Nmon program:./nmon_x86_64_rhel54
3, monitoring CPU, memory, disk, network according to: C, M, D, N
Note: c:cpu,m:memory memory, D:disk disk, N:network network
Iv. method of collecting time data:
1. Enter the Nmon directory to execute the following command:
./nmon_x86_64_rhel54-s10-c200-f-m/home
Note:
The-S10 collects data every 10 seconds.
-c60 collected 60 times, that is, the acquisition of 10 minutes of data.
-F generates a data file name that contains the time when the file was created.
The storage directory of the data files generated by-M.
This generates a Nmon file and updates every 10 seconds until 10 minutes later.
The generated file name is:
V. Open the method of collecting results:
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 Analysenmon 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)
The analysis data gets a report file (. xls) that contains a lot of profiling results data, which is viewed according to your needs.
Detailed analysis to tell 0_o.
Nmon Monitoring Linux Performance