How to install and use the Linux monitoring tool nmon?

Source: Internet
Author: User

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

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.