Nmonanalyser and nmonanalyser System Performance Analysis (Chart) Tool

Source: Internet
Author: User
Nmon data collection tool
Http://nmon.sourceforge.net/pmwiki.php? N = site. Download

Nmon analyser analyzes the data results and graphically presents them
Http://www.ibm.com/developerwork... iptype/nmonanalyser

Use the corresponding operating system file:

    1. [Root @ localhost performance] # Cat/etc/issue
    2. Centos release 5.4 (final)
    3. Kernel \ r on an \ m

CopyCode

    1. [Root @ localhost performance] # uname-
    2. Linux localhost. localdomain 2.6.18-164. EL5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Copy code

    1. # Wget http://sourceforge.net/projects/nmon/files/download/nmon_x86_12a.zip/download
    2. # Unzip nmon_x86_12a.zip
    3. # Chmod A + x nmon_x86_rhel52

Copy code

Run nmon directly.

Collect data and generate reports:
Data collection:

    1. ./Nmon_x86_rhel52-S10-16A-F-M.

Copy code

Parameter description:
-S10 collects data every 10 seconds.
-60 records are collected for 60 times, that is, 10 minutes of data are collected.
-F: The generated data file name contains the time when the file was created.
-M: directory where data files are stored.

In this way, a nmon file is generated and updated every 10 seconds until 10 minutes later.
The generated file name is hostname_0901__1306.nmon. "hostname" indicates the host name.

Generate Reports:
Download nmon analyser (a free tool for generating performance reports ):
Http://www.ibm.com/developerworks/wikis/display/Wikiptype/nmonanalyser

Upload the previously generated nmon data file to a Windows machine and use Excel to open the analysis tool nmon analyser v33c.xls. (Note that the security level of Excel macros is lowered)
Click the "analyze nmon data" button in the Excel file and select the nmon data file to generate an analysis result file: hostname_0901__1306.nmon.xls, open the generated file in Excel and you will see the result.

If the macro cannot run, perform the following operations:
Tool-> macro-> Security->, and then open the file and allow the macro to run.

Example 1:
Automatic data collection by day:
Add a record to crontab:

    1. 0 0 *** nmon-s300-c288-F-M/home/>/dev/null 2> & 1

Copy code

300*288 = 86400 seconds, which is exactly the data of one day.

Example 2:
A. Execute the command: # crontab-e
B. Add the following command in the last line:

    1. 0 8 ** 1200, 5/nmon/scriptn/mon_x86_rhel52-F-n-M/nmon/log-S 30-C

Copy code

Indicates:
From Monday to Friday, from AM, monitoring for 10 hours (until), output to/nmon/log

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.