Installation and use of Nmon in Linux

Source: Internet
Author: User

Installation of Nmon:

1. Create a new directory Nmon:mkdir-p/home/tool/nmon

2. Get the Nmon installation package:

Http://nmon.sourceforge.net/pmwiki.php?n=Site.Download

Need to choose according to needs, I use the CentOS, so choose this installation package:

3. Upload the tar package to the Linux Nmon directory via SFTP

4. Unzip the TAR package in Linux: TAR-ZXVF nmon16e_mgpinc.tar-gz

5. Modify the permissions of the NMON_X86_64_CENTOS7: chmod u+x Nmon_x86_64_centos7

6. Create a soft link: ln-s/home/tool/nmon/nmon_x86_64_centos7/usr/bin/nmon

Use of Nmon:

1. Log in as root, enter Nmon as shown:

Follow the prompts to enter the corresponding key to display the statistics.

2. Generate Nmon Report:

[Email protected] log]# nmon-s 10-c 60-f-m/home/log/

-S: Specifies the time between data acquisition, here is 10s

-C: Specify the number of data acquisition, here is 60 times

-F: Generated file contains time to start data collection

-M: Specify the file directory for data generation

The file is generated as shown in:

The file format is: hostname_ date _ time. Nmon

Download Nmon Analyser (free tool for generating performance reports):

Https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Power%20Systems/page/nmon_analyser

Upload the previously generated Nmon data file to the Windows machine and open the analysis tool Nmon analyser v51_2.xlsm with Excel. Click the "Analyze Nmon Data" button in the Excel file to select the Nmon file, which will generate a parsed result file: site1_170609_1141.nmon.xlsx, open the generated file with Excel to see the results.

3. Set up the Timer task monitoring system:

Crontab setting method See: Http://www.cnblogs.com/maybo/p/5183753.html

Installation and use of Nmon in Linux

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.