Nmon for linux performance analysis tools

Source: Internet
Author: User
Linux performance analysis tool nmon1. 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. According to the running results, we provide the linux performance analysis tool nmon 1. Overview monitoring, which 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, transmission and read/write ratio ● file system usage ● network I/O speed, transmission and read/write ratio, error statistics rate and transmission package size ● processes that consume the most resources ● Computer details and resources ● page space and page I/O speed ● custom disk groups ● the Network File System is also on the AIX operating system, nmon can also monitor other information, such as asynchronous I/O. 2. install nmon as follows: 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 the usage of the system over a period of time and record the results, we can run the following command :#. /nmon-f-t-s 30-c 180 n-f: output file in standard format: _ YYYYMMDD_HHMM.nmon; n-t: processes with high usage are output; n-s 30: data is collected every 30 seconds. n-c 180: after a total of 180 input commands are collected, press enter to automatically generate a hostname_timeSeries.nmon file in the current directory. if hosname is test1, the generated file is test10000090308_1313.nmon. You can use the sort command to convert the nmon result file to A csv file: # sort-A test10000090308_1313.nmon> test10000090308_1313.csv. after executing the sortcommand, you can create the test10000090308_1313.csv file in. 3.2 generate graphical results in order to analyze the results obtained by nmon monitoring, IBM also provides the corresponding graphical analysis tool nmon_analyser. the nmon analyser.xls tool can be used to convert the monitoring result file into an excel file, it is convenient to analyze the usage of various system resources. Use the nmon analyser.xls tool as follows: (1) open the nmon analyser.xls tool; (2) adjust the excel macro security: Tool-macro-security (modify the security level and reliable publisher) (Select) security level: low (off) trust all installed add-ons and templates (off) trust access to the Visual Baisc project (3) after modification, OK-close nmon analyser.xls, open the file again. (4) click Analyse nmon datato download the test10000090308_1313.csv file. The above is a brief description and usage of nmon. you can analyze the system situation based on the collected results.

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.