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

Collecting and testing data by nmon

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

Share

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

Today, we also did the work of testing:

Collect data:

Nmon-S10-C60-f-m / home/

Parameter explanation:

-S10 collects data every 10 seconds.

-c60 collects 60 times, that is, the data is collected for ten minutes.

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

-m the directory where the generated data files are stored.

A nmon file is generated and updated every ten seconds until ten minutes later.

The generated file name is hostname_090824_1306.nmon, and "hostname" is the hostname of this host.

Generate a report:

Download nmon analyser (a free tool for generating performance reports):

Http://www.ibm.com/developerworks/wikis/display/Wikiptype/nmonanalyser

Generate a report:

Download nmon analyser (a free tool for generating performance reports):

Http://www.ibm.com/developerworks/wikis/display/Wikiptype/nmonanalyser

Transfer the previously generated nmon data file to the Windows machine and open the analysis tool nmon analyser v33C.xls with Excel. Click the "Analyze nmon data" button in the Excel file and select the nmon data file, which will generate an analyzed result file: hostname_090824_1306.nmon.xls. Open the generated file with Excel and you can see the result.

If the macro cannot be run, you need to do the following:

Tools-> Macro-> Security->, then open the file and allow the macro to run.

Automatically collect data on a daily basis:

Add a record to crontab:

00 * root nmon-s300-c288-f-m / home/ > / dev/null 2 > & 1

300 seconds, 288 seconds, 86400 seconds, which happens to be a day's data.

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