Today introduced a Linux system server performance detection Tools-nmon and Nmon_analyser (Generate performance report of free tools), pro-Test available.
I. INTRODUCTION
The Nmon tool helps to display all of the important performance optimization information on one screen and dynamically updates it. This efficient tool can work on any dumb screen, Telnet session, or even dial-up lines. In addition, it does not consume a lot of CPU cycles, usually less than 2%. On the updated computer, its CPU utilization will be less than 1%.
Use a dumb screen to display the data on the screen and update it every two seconds. However, you can easily change this interval to a longer or shorter time period. If you stretch the window and display the data in X windows, VNC, PuTTY, or similar windows, the Nmon tool can output a large amount of information at the same time.
The Nmon tool can also capture the same data to a text file for later analysis and drawing of the report. The output file is in spreadsheet format (. csv).
Two. Download and install
Nmon The default download is only an executable test file, but the download is based on different systems to differentiate, here I choose centos6.4 System version.
You can choose the appropriate version according to your own system.
Execute the Command more/etc/issue view the system version.
Download page: Http://sourceforge.net/projects/nmon/files/?source=navbar
Download get file NMON_X86_64_CENTOS6, default no EXECUTE permission
chmod 777 NMON_X86_64_CENTOS6
Three. Instructions for use
Executes the command./NMON_X86_64_CENTOS6 can get the following interface
Press the H key to see the Help information
A single letter for the corresponding monitoring point of the shortcut keys, as long as the corresponding letter input, you can display the corresponding resource consumption, input C, M, d after the display of the following (showing the CPU, memory, disk usage):
./nmon_x86_64_centos6-ft-s 5-c 10
The-f tag, which saves the data collected by Nmon to a file in CSV format, is named in
-F runs Nmon in the background, saving the collected data to a CSV file.
-T contains top output------t outputs the most resource-intensive process
-S interval time
-C collects how many times
A good data report has been generated and can be downloaded and opened with the Analyser log Analysis tool on the Windows machine
Four. Data analysis
Download Nmon Analyser (free tool for generating performance reports):
Download page: Https://www.ibm.com/developerworks/community/wikis/home?lang=zh#!/wiki/Power%20Systems/page/nmon_analyser
:https://www.ibm.com/developerworks/community/wikis/form/anonymous/api/wiki/ 61ad9cf2-c6a3-4d2c-b779-61ff0266d32a/page/b7fc61a1-eef9-4756-8028-6e687997f176/attachment/ 721e9797-b5fc-41d7-9b2f-5bd2aa2c8f7d/media/nmon_analyser_34a.zip
After decompression can get a Nmon analyser V34a.xls, double-click to open
Click the middle button analyse nmon data and select the Nmon file, which will generate a parsed result file. The final reports are as follows
OK, very simple and practical a small tool, the first introduced here today.
Linux Server Performance Detection Tool Nmon use