Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the server performance monitoring artifact nmon

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Server performance monitoring artifact nmon how to use, in view of this problem, this article describes in detail the corresponding analysis and solutions, hoping to help more partners who want to solve this problem to find a more simple and easy way.

Nmon (Nigel's Monitor) is a tool provided by IBM to monitor AIX system and Linux system resources for free. This tool can collect the resource consumption of the server system and output a specific file, and can use excel analysis tool (nmon analyser) for statistical analysis of the data.

Search and download nmon and upload it to the server for decompression. Let me show you with an older version. After decompression, there are nmon16e_x86_rhel65, and nmon analyser v34a.xls.

Nmon16e_x86_rhel65 is preceded by an executable file, which generates a monitoring file, which contains the collected server hardware metrics with the suffix .nmon.

Nmon analyser v34a.xls is used to convert this monitoring file into an easy-to-read Excel table with charts.

This tool runs automatically in the background after startup, and can collect hardware indicators for a long time. It is suitable for collecting for a period of time, such as a few days, and then summarize and compare the performance scenarios.

Through the analysis of the reasons for the changes in the occupation of hardware resources, there will be a lot of new discoveries to make us master the system more thoroughly.

The command to start nmon is as follows

. / nmon16e_x86_rhel65-f-s 10-c 999999999-m. /

If the failure prompt Permission Denied is executed for the first time, just execute chmod + x nmon16e_x86_rhel65.

Parameter explanation:

-s 10 data is collected every 10 seconds.

-c 999999999 collects hardware data for 999999999 times, indicating that I need to collect data for a long time

-f the data file name generated contains the time when the file was created.

The directory where the generated data files are stored is the current directory. [root@localhost nmontest] #. / nmon16e_x86_rhel65-f-s 10-c 999999999-m. / [root@localhost nmontest] # ls-lrt total 372m. 1 root root 347506 Jul 1 2016 nmon16e_x86_rhel65-rw-r--r--. 1 root root 29653 Aug 5 15:02 the name of the localhost_200805_1502.nmon monitoring file consists of "hostname + time" [root@localhost nmontest] # tail-f localhost_200805_1502.nmon VM,T0004,2,0,0,1247,7428,-1,0,0,0,0,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 PROC,T0004,1,0,81.4,-1.0,-1.0,-1.0,0.8 -1.0 NET,T0004,0.0,0.1,0.0,0.0,0.0,0.1,0.0,0.0 NETPACKET,T0004,0.0,1.5,0.0,0.0,0.0,0.8,0.0,0.0 JFSFILE,T0004,29.6,0.0,1.4,29.6,13.3 DISKBUSY,T0004,0.0,0.0,0.0,0.0,0.0,0.0 DISKREAD,T0004,0.0,0.0,0.0,0.0,0.0,0.0 DISKWRITE T0004 DISKXFER,T0004,0.0,0.0,0.0,0.0,0.0,0.0nmon 0.00.Entropy 0.0minus 0.0minus 0.0minus 0.0 files according to the sampling interval Continue to write data acquisition is over Close nmon [root@localhost nmontest] # ps-ef | grep nmon root 5226 10 15:02 pts/0 00:00:00. / nmon16e_x86_rhel65-f-s 10-c 999999999-m. / root 6626 3519 0 15:24 pts/0 00:00:00 grep-- color=auto nmon [root@localhost nmontest] # kill-9 5226 transfer nmon files to your local computer (ASCII format transfer) Convert the format with nmon analyser v34a.xls. If there are warnings related to macros, press tools-> Macro-> Security-> Select low Security. Click the button to select the downloaded .nmon file. The window will pop up many times and ask if you want to replace the existing x86 definition, and all click Yes. Save the file in xls format. Open the xls file. The name of the tag below represents the hardware metrics monitored by the tag, and the following is the monitoring metrics of network and memory usage.

This is the answer to the question about how to use the server performance monitoring artifact nmon. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report