Convert .nmon files to html using nmonchart

Reprinted: https://blog.csdn.net/zd470015321/article/details/68923280

My environment: centos6.6

download link

nmon:

http://nmon.sourceforge.net/pmwiki.php?n=Site.Download

nmon analyzer:

https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Power+Systems/page/nmon_analyser

nmonchart:

http://nmon.sourceforge.net/pmwiki.php?n=Site.Nmonchart

 

1. Download nmon and nmonchart and put them in linux

2. Add execute permission, chmod 755 *

3. Use nmon to generate the .nmon file ./nmon16e_x86_rhel72 -s1 -c300 -f -m/home/nmon/data/

 

-s how many seconds to refresh the screen, that is, how many seconds to record data

-c The number of refreshes, which is the number of records

 -f Spreadsheet output format, forming a dataset that can be interpreted as an Excel table.

-m The directory to which the generated files are output

4. Use nmonchart to convert .nmon to .html

/home/nmon/nmonchart31/nmonchart /home/nmon/data/vpw1_224_170330_1608.nmon  /home/nmon/data/vpw1_224_170330_1608.html

encountered a problem

Prompt exception: -bash: ./nmonchart: /usr/bin/ksh: bad interpreter: No such file or directory

Solution:

nmonchart is ksh, I don't have ksh in my system

so yum install ksh

After installation, this exception is still prompted, check the files under /usr/bin/ in the prompt

found no ksh,

Finally found ksh under /bin/

Then edit the nmonchart file vi /home/nmon/nmonchart31/nmonchart , modify the first line #!/usr/bin/ksh to #!/bin/ksh

Then execute the conversion command again

 

5. Open .html to see

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324880015&siteId=291194637