Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Collecting and testing data by nmon

Shulou Source: shulou.com Published: 2022-06-03 05:40:26 09月30日 Update

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.

Tags: Files generation data tools hosts performance reports reports file names results analysis runs tests security parameters security buttons time machines directories Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL macOS Docker Apple MariaDB