As a monitoring tool for Linux systems, download the software packages suitable for your system on the official website.
Official website address: http://nmon.sourceforge.net/pmwiki.php? N = site. Download
Download the file and FTP it to the Linux host to create a directory named nmon. Set the location.
But it is best to put it in/usr/bin/nomn/. After all, it is an executable file.
Decompress the package. After decompression, something will be found, such as nmon_x86_64_mint8.
Grant the executable permission, chmod + x nmon_x86_64_mint8.
This is a success!
The execution is suitable./nmon_x86_64_mint8 !!!
To monitor system usage in real time and record the results, run the following command:
$ Nmon-F-t-r test-S 30-C 180
Test: the title of the monitoring record and the name of the generated file
-S 30: data is collected every 30 seconds.
-C 180: a total of 180 collection times
After the command is entered, a test10000090320_2213.nmon file is automatically generated in the current directory.
Run the following command to convert the nmon result to a CSV file:
# Sort test10000090320_2213.nmon> test10000090320_2213.csv
You can create the test10000090320_2213.csv file in the current directory. We downloaded the test10000090320_2213.csv file to a local file to convert it to graph result analysis.
Next, use the nmon analyser.xls tool to generate an Excel file.
1,
Download the nmon analyser.xls Tool
2,
Open the nmon analyser.xls Tool
3,
Adjust Excel macro security: Tools-macros-Security
(Security level modification and reliable publishers)
(Optional) Security Level: low
(Hook up) trust all installed add-ons and templates
(Hook up) Trust access to the "visual baisc Project"
4. After modification, click OK-Disable nmon analyser.xls and re-open it.
5. Click analyse nmon datato download the test10000090320_2213.csv file.
For more details about the nmon tool, refer to the following:
Http://server.51cto.com/sManage-224899.htm