Performance test monitoring Tool Nmon installation and use method

Source: Internet
Author: User

1. Overview

Monitoring, is an integral part of checking system problems or optimizing system performance. Monitoring the usage of operating system resources through the operating system monitoring tool, which indirectly reflects the operation of each server program. Based on the analysis of running results, we can quickly locate the system problem range or performance bottleneck point.

Nmon is a kind of monitoring and analysis tool widely used in Aix and various Linux operating systems, compared with some other system resource monitoring tools, the information recorded by Nmon is quite comprehensive, it can capture the usage of system resources in real time while the system is running, and can output the result to the file. Data files and graphical results are then generated through the Nmon_analyzer tool.

The data recorded by Nmon contains some of the following aspects (also the resource points that we are concerned about in the process of looking for problems):

CPU Usage

Memory usage

Disk I/O speed, transmission, and read/write ratios

File System Utilization

Network I/O speed, transmission and read-write ratios, error statistics, and packet size

The process that consumes the most resources

Computer details and resources

Page space and page I/O speed

User-defined Disk groups

Network File system

In addition to the AIX operating system, Nmon can also monitor other information, such as asynchronous I/O.

2. Download and install Nmon

How do I get nmon? We can download it on the official website of IBM for free, download URL: Http://www.ibm.com/developerworks/wikis/display/WikiPtype/nmon.

The installation steps for the Nmon are as follows:

1) Log in to the system with the root user;

2) Build catalogue: #mkdir/test;

3) upload Nmon to/test with FTP, or copy to/test directory via other media;

4) Execute authorization command: #chmod +x nmon.

3, Nmon data collection

3.1 Data acquisition

To monitor the system's usage over time and record the results in real time, we can do this by running the following command:

#./nmon-f-t-s 30-c 180

N-f: Output files in standard format:

N-T: The process of high occupancy is included in the output;

N-S 30: Data acquisition every 30 seconds

N-C 180: Collect 180 times altogether

After entering the command enter, a Hostname_timeseries.nmon file is automatically generated in the current directory, and if Hosname is Test1, the produced file is: Test1_090308_1313.nmon.

    • This article is from: Linux Tutorial Network

Performance test monitoring Tool Nmon installation and use method

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.