Performance Test and Monitoring Tool nmon installation and usage

Source: Internet
Author: User
1. Overview monitoring is an indispensable part in checking system problems or optimizing system performance. The operating system monitoring tool monitors the usage of operating system resources and indirectly reflects the running status of each server program. The analysis based on the running results can help us quickly locate the system... information & nb

1. Overview

Monitoring is an indispensable part in checking system problems or optimizing system performance. The operating system monitoring tool monitors the usage of operating system resources and indirectly reflects the running status of each server program. The analysis based on the running results can help us quickly locate the scope of system problems or performance bottlenecks.

Nmon is a monitoring and analysis tool widely used in AIX and various Linux operating systems. compared with other system resource monitoring tools, nmon records comprehensive information, it can capture the usage of system resources in real time during system operation, and output the results to the file, and then generate data files and graphical results through nmon_analyzer.

The data recorded by nmon includes the following aspects (which is also a resource point we are concerned about when looking for a problem ):

● Cpu usage

● Memory usage

● Disk I/O speed, transfer and read/write ratio

● File system usage

● Network I/O speed, transmission and read/write ratio, error statistical rate and transfer package size

● Processes that consume the most resources

● Computer details and resources

● Page space and page I/O speed

● User-defined disk groups

● Network File System

In addition, on the AIX operating system, nmon can monitor other information, such as asynchronous I/O.

2. download and install nmon

How to obtain nmon? We can download it from the official IBM website for free at http://www.ibm.com/?works/wikis/display/wikiptype/nmon.

To install nmon, follow these steps:

1) log on to the system as the root user;

2) create a directory: # mkdir/test;

3) upload nmon over ftp to/test, or copy it to the/test Directory through other media;

4) execute the authorization command: # chmod + x nmon.

3. nmon data collection

3.1 Data Collection

To monitor system usage in real time and record the results, run the following command:

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

N-f: output files in standard format: _ YYYYMMDD_HHMM.nmon;

N-t: The output contains processes with high usage;

N-s 30: data is collected every 30 seconds.

N-c 180: 180 times in total

After you press enter, a hostname_timeSeries.nmon file is automatically generated in the current directory. if hosname is test1, the generated file is test10000090308_1313.nmon.

Related Article

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.