In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to monitor nmon in linux, which has a certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article. Let's take a look at it.
Instructions for using nmon
Http://bbs.chinaunix.net/thread-3670590-1-1.html
Nmon Analyser download
Https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Power%20Systems/page/nmon_analyser
III. Data acquisition
The above implementation is the real-time monitoring of the server. In the actual performance test, we need to record the data within a period of time, you can use the following command
. / nmon-f-t-r test-s 30-c 10-m / opt/oracle/nmon
The meaning of the above command is:
-f: output file name in standard format: _ YYYYMMDD_HHMM.nmon
-t outputs the processes that consume the most resources
-s: sampled every n seconds, here is 30 seconds
-c: how many samples are taken out? here it is 10, that is, monitoring = 10 / 30 / 60 / 5 minutes.
-m: directory where the nmon generated files are located
-h: more help
Test: title of the monitoring record
After the command is started, the monitoring file is generated in the directory where the nmon is located, and the resource data is continuously written until the collection of the 360monitoring points is completed, that is, monitoring for 1 hour. These operations are completed automatically without manual intervention, and the testers can continue to complete other operations.
If you want to stop the monitoring, you need to query the process number through "# ps-ef | grep nmon", and then kill the process to stop monitoring.
The nmon output file is named server name _ date time .nmon
Convert the .nmon file to a .csv file and generate the corresponding .csv file in the current directory with the following command
Sort BOSS1_110810_1438.nmon > BOSS1_110810_1438.csv
Thank you for reading this article carefully. I hope the article "how to monitor nmon in linux" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.