Use of the linux server performance detection tool nmon

Source: Internet
Author: User

Use of the linux server performance detection tool nmon
Today, we will introduce nmon and nmon_analyser (a free tool for generating performance reports), a linux system server performance testing tool.
I. Introduction
The nmon tool can display all important performance optimization information on a single screen and dynamically update it. This efficient tool can work on any dumb screen, telnet session, or even dial-up line. In addition, it does not consume a lot of CPU cycles, usually less than 2%. On the updated computer, the CPU usage will be lower than 1%.

Use a dummy screen to display data on the screen and update the data every two seconds. However, you can easily change the time interval to a longer or shorter time period. If you stretch the window and display the data in Windows X, 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 reports. The output file is in the format of a workbook (.csv ).
Ii. Download and install

By default, the download of nmon is only an executable test file, but it is differentiated by different systems. Here I select the centos6.4 system version.
You can select a version based on your system.
Run more/etc/issue to view the system version.
Download: http://sourceforge.net/projects/nmon/files? Source = navbar


The downloaded file nmon_x86_64_centos6 has no execution permission by default.
Chmod 777 nmon_x86_64_centos6

Iii. Instructions for use
Run the command./nmon_x86_64_centos6 to obtain the following interface:

Press the h key to view the help information.

A single letter represents the shortcut key for the corresponding metric point. You only need to enter the corresponding letters to display the corresponding resource consumption, after entering c, m, and d, the system displays the following results (cpu, memory, and disk usage ):

./Nmon_x86_64_centos6-fT-s 5-c 10

-F MARK: Save the data collected by nmon to a CSV file and name it in the

-F run nmon later, and save the collected data to a csv file.

-T contains top output ------ T outputs the processes that consume the most resources

-S Interval

-How many times does c collect data?

A good data report has been generated, which can be downloaded and then opened on a windows machine using the analyser log analysis tool.

Iv. Data Analysis
Download nmon analyser (a free tool for generating performance reports ):
Download: https://www.ibm.com/developerworks/community/wikis/home? Lang = zh #! /Wiki/Power % 20 Systems/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
Decompress the package and you can get a nmon analyser v34a.xls file. Double-click it.

Click Analyse nmon data in the middle and select the nmon data file to generate an analysis result file. The final report is as follows:

OK, a simple and practical tool. I will introduce it here today.
If you need to reprint it, indicate the source: h Ttp: // blog.chinaunix.net/uid-29179844-id-4354563.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.