Recent Changes - Search:

Home Page



Other tools


edit SideBar

Nmonchart

Site.Nmonchart History

Hide minor edits - Show changes to markup

November 04, 2017, at 01:16 PM by 127.0.0.1 -
Added lines 114-116:
Versions32 - Mem Use graph
http:/docs/nmonchart_memuse.png
Versions33 - Top Disk graph
http:/docs/nmonchart_topdisks.png
 
November 04, 2017, at 01:01 PM by 127.0.0.1 -
Changed lines 26-28 from:
nmonchart32.tarCurrent version 32 - 18th Oct 2017
- Added for AIX a new memory graph for System%, Process%, Cache% and Free%. Note: in the nmon Analyser its the MEMNEW graph.
- Added handling for singel GPU (normally in pairs)
to:
nmonchart33.tarCurrent version 33 - 4th Nov 2017
- Added Top 15 Disks Graph - particularly useful if the data has 100's or 1000's of disks
nmonchart32.tarVersion 32 18th Oct 2017
- Added for AIX a new memory graph for System%, Process%, Cache% and Free%. Note: in the nmon Analyser it is the MEMNEW graph.
- Added handling for single GPU (normally in pairs)
Changed line 45 from:

1) Added PROCCOUNT (count of processes) as this was release via an AIXpert Blog about nmon External Data Collectors\\

to:

1) Added PROCCOUNT (count of processes) as this was released via an AIXpert Blog about nmon External Data Collectors\\

Changed line 65 from:

- Disk Wait time in milli-seconds \\

to:

- Disk Wait time in milli-seconds \\

Changed line 119 from:

The Korn shell script file nmonchart transforms .nmon performance capture files in to .html files for a webserver site.

to:

The Korn shell script file nmonchart transforms .nmon performance capture files into .html files for a web server site.

October 18, 2017, at 05:31 PM by 127.0.0.1 -
Changed lines 26-29 from:
nmonchart31.tarCurrent version 31 - 9th Dec 2016 \\
to:
nmonchart32.tarCurrent version 32 - 18th Oct 2017
- Added for AIX a new memory graph for System%, Process%, Cache% and Free%. Note: in the nmon Analyser its the MEMNEW graph.
- Added handling for singel GPU (normally in pairs)
nmonchart31.tarVersion 31 - 9th Dec 2016 \\
December 09, 2016, at 11:48 AM by 127.0.0.1 -
December 09, 2016, at 11:42 AM by 127.0.0.1 -
Changed line 16 from:
  • sampleC.html - small sample and quick to load but some data faked to make the graphs look good (not largely full of zeros).
to:
  • sampleC.html - small sample and quick to load but some data faked to make the graphs look good (not largely full of zeros).
Changed lines 18-20 from:
  • Used the version 31 like this: ./nmonchart sampleD.nmon sampleD.html
to:
  • Used the nmonchart version 31 like this:
    • ./nmonchart sampleC.nmon sampleC.html
    • ./nmonchart sampleD.nmon sampleD.html
December 09, 2016, at 11:29 AM by 127.0.0.1 -
Changed lines 15-17 from:

Here is a simple small sample file so you can see what the graphs look like: sampleC.html

to:

Here is a simple small sample file so you can see what the graphs look like:

  • sampleC.html - small sample and quick to load but some data faked to make the graphs look good (not largely full of zeros).
  • sampleD.html - large real life sample and can take a few seconds to load
  • Used the version 31 like this: ./nmonchart sampleD.nmon sampleD.html
  • Both of these and the original .nmon files are in the download files below for you to try.
Changed lines 24-26 from:
nmonchart30.tarCurrent version 30 - 22nd Sept 2016
Fix for running the nmonchart Ksh script on Linux. AIX has "print -n" option but Linux does not.
Thanks to Jack Miller II of MPG Inc (http://mpginc.com) for spotting this and a fix. If using AIX for running nmonchart - you don't need to upgrade.
to:
nmonchart31.tarCurrent version 31 - 9th Dec 2016
- Fix for Top Processes sort arguments for Linux which handles -t, differently resulting in not having the Top 20 processes on Linux.
- Fix Linux machines with no disks reported in AAA,disks,0 line - we skip graphing the disks.
- Added sampleD.nmon and sampleD.html as a much larger & more interesting set of nmon stats.
- Note: sampleC had some stats faked up my me!
nmonchart30.tarVersion 30 - 22nd Sept 2016
Fix for running the nmonchart Ksh script on Linux. AIX has "print -n" option but Linux does not.
September 28, 2016, at 04:04 PM by 127.0.0.1 -
Changed line 23 from:

Thanks to Jack Miller II of MPG Inc (httlp://mpginc.com) for spotting this and a fix. If using AIX for running nmonchart - you don't need to upgrade. ||

to:

Thanks to Jack Miller II of MPG Inc (http://mpginc.com) for spotting this and a fix. If using AIX for running nmonchart - you don't need to upgrade. ||

September 28, 2016, at 03:59 PM by 127.0.0.1 -
Changed line 23 from:

Thanks to Jack Miller II of MPG Inc for spotting this and a fix. If using AIX for running nmonchart - you don't need to upgrade. ||

to:

Thanks to Jack Miller II of MPG Inc (httlp://mpginc.com) for spotting this and a fix. If using AIX for running nmonchart - you don't need to upgrade. ||

September 28, 2016, at 03:58 PM by 127.0.0.1 -
Changed line 23 from:

Thanks to Jack Miller II for spotting this and a fix. If using AIX for running nmonchart - you don't need to upgrade. ||

to:

Thanks to Jack Miller II of MPG Inc for spotting this and a fix. If using AIX for running nmonchart - you don't need to upgrade. ||

September 22, 2016, at 02:35 PM by 127.0.0.1 -
Changed lines 21-24 from:
nmonchart29.tarCurrent version 29 - 21st July 2016
to:
nmonchart30.tarCurrent version 30 - 22nd Sept 2016
Fix for running the nmonchart Ksh script on Linux. AIX has "print -n" option but Linux does not.
Thanks to Jack Miller II for spotting this and a fix. If using AIX for running nmonchart - you don't need to upgrade.
nmonchart29.tarVersion 29 - 21st July 2016
Changed line 29 from:
nmonchart28.tarCurrent version 28 - 6th July 2016
to:
nmonchart28.tarVersion 28 - 6th July 2016
Changed line 34 from:
nmonchart27.tarOlder version 27 - 3rd March 2016
to:
nmonchart27.tarVersion 27 - 3rd March 2016
July 21, 2016, at 02:31 PM by 127.0.0.1 -
Added lines 21-25:
nmonchart29.tarCurrent version 29 - 21st July 2016
Comments on v29New Features: for nmonchart version 29
Zoom In and Out added - thanks to Ivan Goncharov for the hint
- Left-click and drag the mouse to highlight an area to Zoom then when you let go it will Zoom In
- Right-click to Zoom Out (reset) and see the whole graph again
Changed line 27 from:
Comments on v27New Features: for nmonchart version 28\\
to:
Comments on v28New Features: for nmonchart version 28\\
July 06, 2016, at 01:00 PM by 127.0.0.1 -
Changed lines 22-23 from:
Comments on v27New Features:
New Features from nmonchart version 28\\
to:
Comments on v27New Features: for nmonchart version 28\\
July 06, 2016, at 11:40 AM by 127.0.0.1 -
Changed lines 21-27 from:
nmonchart27.tarCurrent version 27 - 3rd March 2016
to:
nmonchart28.tarCurrent version 28 - 6th July 2016
Comments on v27New Features:
New Features from nmonchart version 28
1) Added PROCCOUNT (count of processes) as this was release via an AIXpert Blog about nmon External Data Collectors
2) Added MORE1 and MORE3 examples for people adding their own stats.
3) Buttons for adapter typo fixed
nmonchart27.tarOlder version 27 - 3rd March 2016
March 03, 2016, at 11:26 AM by 127.0.0.1 -
Changed line 21 from:
nmonchart27.tarCurrent version 27 - 3rd March 2016
to:
nmonchart27.tarCurrent version 27 - 3rd March 2016
Added lines 29-30:

If you do not want the Config button (it does add to the .html size) set
wantCONFIG=0 near the top of the nmonchart script - =1 means we want it. \\

March 03, 2016, at 11:24 AM by 127.0.0.1 -
Added lines 83-84:
Version 27 new buttons AIXNew buttons LinuxConfiguration Details pop-up
http:/docs/nmonchart_new_buttons_AIX.png http:/docs/nmonchart_new_buttons_Linux.png http:/docs/nmonchart_config_window.png
March 03, 2016, at 11:05 AM by 127.0.0.1 -
Changed line 28 from:

- Internet Browser I get a blank windows but it works for other people \\

to:

- Internet Explorer I get a blank windows but it works for other people \\

March 03, 2016, at 11:05 AM by 127.0.0.1 -
Changed lines 21-31 from:
nmonchart25.tarCurrent version 25 - 12th Feb 2016
to:
nmonchart27.tarCurrent version 27 - 3rd March 2016
Comments on v27New Features:
The buttons labels are upper and lowercase = look nicer
Added the nmon Configuration button to pop-up a window with the AAA and BBB data
Unfortunately, this highlights browser behaving differently
- Firefox no scroll bars so use PageDown
- Chrome has scroll bars
- Internet Browser I get a blank windows but it works for other people
The Top Process Summary and Top Commands Buttons moved up at the top line to save space
Download FileComments
nmonchart25.tar12th Feb 2016
February 15, 2016, at 05:44 PM by 127.0.0.1 -
Changed line 4 from:

JavaScript to display the top 35+ AIX and Linux Performance Graphs and configuration details''' ||

to:

JavaScript to display the top 53+ AIX and Linux Performance Graphs and configuration details''' ||

February 15, 2016, at 11:35 AM by 127.0.0.1 -
Changed line 31 from:

1) Now supported User Defined Disks Groups - good to nmon for Linux -g auto \\

to:

1) Now supported User Defined Disks Groups - good for nmon for Linux -g auto \\

Changed line 33 from:

3) Linux Utilisation all 10 stats: user, nice, system, ide, wait for IO, steal, irq, soft irq, guest and guest nice ||

to:

3) Linux Utilisation all 10 stats: user, nice, system, idle, wait for IO, steal, irq, soft irq, guest and guest nice ||

Changed lines 82-83 from:
	./nmonchart hostname_date_time.nmon /webpages/docs/hostname_date_time.html
to:
	./nmonchart   hostname_date_time.nmon   /webpages/docs/hostname_date_time.html
Changed lines 86-87 from:

AIX and Linux have Korn Shell called kshi - if your like does not have it you should install it.

to:

AIX and Linux have Korn Shell called ksh - if your Linux does not have it you should install it.

Changed line 101 from:

- The Googlechart library (directly from the web) is used to generate the graphs

to:

- The Google-chart library (directly from the web) is used to generate the graphs

Changed line 105 from:

- - There is the data in an array format and the ZZZ data transformed in to a java dat format

to:

- - There is the data in an array format and the ZZZ data transformed in to a Java date format

Changed line 122 from:
  1. CPU_USE - Logical CPU Core Use (Power SMT or x86 Hyperthreads) Average(User%+System%)
to:
  1. CPU_USE - Logical CPU Core Use (Power SMT or x86 Hyper-threads) Average(User%+System%)
Changed lines 128-129 from:
  1. FILEIO - System call - number of bytes on the read + write system call - includes disks, networt sockets and pipes
to:
  1. FILEIO - System call - number of bytes on the read + write system call - includes disks, network sockets and pipes
Changed lines 134-135 from:
  1. FSCACHE - Filesystem Cache (numperm) size in percent with minperm% and maxperm%
  2. PAGING - Paging space: pages in (pgin) and out (pgout) plus Filesystem paging: in (pgsin) and out (psout)
to:
  1. FSCACHE - File system Cache (numperm) size in percent with minperm% and maxperm%
  2. PAGING - Paging space: pages in (pgin) and out (pgout) plus File system paging: in (pgsin) and out (psout)
Changed line 144 from:
  1. NET - Network throughput read and write for each network in KByes per second
to:
  1. NET - Network throughput read and write for each network in KBytes per second
Changed line 160 from:
  1. JFS - Journaled Filesystem Percent Full
to:
  1. JFS - Journaled File System Percent Full
Changed lines 173-174 from:
  1. CPUUNTIL_ALL - for Linux it covers all 10 CPU metrix stats
to:
  1. CPUUNTIL_ALL - for Linux it covers all 10 CPU matrix stats
Changed lines 192-193 from:
  • Use Disk Groups to reduce the complexity. When starting nmon use -g dgfile or on nmon for Linux -g auto to atleast remove the partition stats.
  • Personally, we should get the disk subsystems to do the I/O spreading work and hid a disk mess from the UNIX / Linux Sys admin team.
to:
  • Use Disk Groups to reduce the complexity. When starting nmon use -g dgfile or on nmon for Linux -g auto to at least remove the partition stats.
  • Personally, we should get the disk subsystems to do the I/O spreading work and hid a disk mess from the UNIX / Linux System admin team.
February 15, 2016, at 11:31 AM by 127.0.0.1 -
Changed line 7 from:
  • nmonchart <nmon-file> <output-file>
to:
  • nmonchart <nmon-file> <output-file>.html
February 15, 2016, at 11:19 AM by 127.0.0.1 -
Changed lines 188-190 from:
  • More than 150 Disks - You have the adapter view for overall Disk stats. Data files with crazy numbers of disks in the thousands are just impossible or graph or manage (IMHO).
  • The first 150 plus the adapter totals is a good compromise.
  • Disk service times - see above. Perhaps we need a different set of graphs just for the disk junkies!!
to:
  • More than 150 Disks
    • You have the adapter view for overall Disk stats.
    • Data files with crazy numbers of disks in the thousands are just impossible or graph or manage (IMHO).
    • The first 150 plus the adapter totals is a good compromise.
    • Use Disk Groups to reduce the complexity. When starting nmon use -g dgfile or on nmon for Linux -g auto to atleast remove the partition stats.
Changed lines 197-200 from:
  • Individual Logical CPU Utilisation (up to 1536 with the new E880 with 192 cores)
  • Mostly pointless and misleading - they are time sharing the physical CPU cores.
  • Better to study the VM LPAR physical CPU use and UTIL graphs.
to:
  • Individual Logical CPU Utilisation (up to 1536 with the new E880 with 192 cores)
  • Mostly pointless and misleading - they are time sharing the physical CPU cores.
  • Better to study the VM LPAR physical CPU use and UTIL graphs to check the system to user time ratio.
Changed line 209 from:

- Yet more disks graphs for stupidly high numbers of disks is not a good idea. We could give an option to fine the top 20 over used disk names!

to:

- Yet more disks graphs for stupidly high numbers of disks is not a good idea. We could give an option to find the top 20 over used disk names!

February 15, 2016, at 11:14 AM by 127.0.0.1 -
Added line 129:
Added line 137:
Added line 147:
Added line 150:
Added line 159:
February 15, 2016, at 11:12 AM by 127.0.0.1 -
Added lines 157-179:
  1. DGBUSY - Disk Group busy percentage for each disk - Stacked lines
  2. DGBUSYu - Disk Group busy percentage for each disk - Unstacked lines
  3. DGREAD - Disk Group read throughput in KBytes per second for each disk - Stacked lines
  4. DGREADu - Disk Group read throughput in KBytes per second for each disk - Unstacked lines
  5. DGWRITE - Disk Group write throughput in KBytes per second for each disk - Stacked lines
  6. DGWRITEu - Disk Group write throughput in KBytes per second for each disk - Unstacked lines
  7. DGBSIZE - Disk Group block sizes
  8. DGXTER - Disk Group Transfers per second
  9. MHZ - Main CPU MHz for machines that vary these CPU clock frequency
  10. CPUUNTIL_ALL - for Linux it covers all 10 CPU metrix stats
  11. GPU_UTIL - NVidea GPU stats, GPU CPU Utilisation percentage
  12. GPU_MEM- NVidea GPU stats, GPU Memory Utilisation percentage
  13. GPU_TEMP - NVidea GPU stats, Temperature in C
  14. GPU_WATTS - NVidea GPU stats, Electricity Input
  15. GPU_MHZ - NVidea GPU stats, GPU MHz
  16. DISKSERV - Disk Service time in milliseconds
  17. DISKREADSERV - Disk Service time for Reads in milliseconds
  18. DISKWRITESERV - Disk Service time for Writes in milliseconds
  19. DISKWAIT - Disk Wait time in milliseconds
February 15, 2016, at 10:46 AM by 127.0.0.1 -
Changed lines 62-64 from:

So its only disks and the disk partitions are not captured ||DG busy, DG read, DG write, \\

to:

So its only disks and the disk partitions
are skipped ||DG busy,
DG read, DG write, \\

Deleted line 68:
February 15, 2016, at 10:30 AM by 127.0.0.1 -
Changed lines 61-62 from:
nmon Disk Group GraphsCaptured on nmon for Linux with nmon -f - g auto
So its only disks and the disk partitions are not captured
DG busy, DG read, DG write, DG block size & DG Xfers
to:
nmon Disk Group GraphsCaptured on nmon for Linux with nmon -f -g auto
So its only disks and the disk partitions are not captured
DG busy, DG read, DG write,
DG block size & DG Xfers
Added lines 67-71:
nmon Disk Service & Wait TimeCaptured on nmon for AIX with nmon -f -dDisk Service Time, Disk Wait Time,
Service Read Time & Service Write Time
http:/docs/DiskServiceTime.png http:/docs/DiskWaitTime.png 
http:/docs/DiskServiceReadTime.png http:/docs/DiskServiceWriteTime.png 
February 15, 2016, at 10:13 AM by 127.0.0.1 -
Changed lines 61-62 from:
to:
nmon Disk Group GraphsCaptured on nmon for Linux with nmon -f - g auto
So its only disks and the disk partitions are not captured
DG busy, DG read, DG write, DG block size & DG Xfers
http:/docs/dgbusy.png http:/docs/dgbusyu.png http:/docs/dgread.png
http:/docs/dgreadu.png http:/docs/dgwrite.png http:/docs/dgwriteu.png
http:/docs/dgsize.png http:/docs/dgxfer.png 
February 15, 2016, at 09:45 AM by 127.0.0.1 -
Changed line 55 from:
http:/docs/util10_1024.png http:/docs/MHz_1024.png 
to:
http:/docs/util10_1024.png http:/docs/MHz_1024.png 
Changed line 58 from:
http:/docs/GPU_CPU_Util.png http:/docs/GPU_MEM_Util.png http:/docs/GPU_Temp.png
to:
http:/docs/GPU_CPU_Util.png http:/docs/GPU_MEM_Util.png http:/docs/GPU_Temp.png
Changed line 60 from:
http:/docs/GPU_Watts.png http:/docs/GPU_MHz.png 
to:
http:/docs/GPU_Watts.png http:/docs/GPU_MHz.png 
February 12, 2016, at 02:40 PM by 127.0.0.1 -
Changed lines 21-29 from:
nmonchart24.tarCurrent version 24 - 15th Jan 2016
to:
nmonchart25.tarCurrent version 25 - 12th Feb 2016
Comments on v25New Graphs:
- Disk Service time in milli-seconds
- Disk Read Service time in milli-seconds
- Disk Write Service time in milli-seconds
- Disk Wait time in milli-seconds
You have to switch the collecting of these stats on by running nmon with the -d option
And this generates extra line in the nmon file starting with DISKSERV DISKREADSERV DISKWRITESERV DISKWAIT
nmonchart24.tar15th Jan 2016
January 18, 2016, at 05:39 PM by 127.0.0.1 -
Changed line 44 from:
to:
Changed line 51 from:
GPU Electrical Watts usedGPU MHz 
to:
GPU Electrical Watts UsedGPU MHz 
January 18, 2016, at 05:38 PM by 127.0.0.1 -
Changed line 49 from:
All ten Linux Utilisation statsMHz changing on a S822LC 
to:
GPU CPU UtilisationGPU Memory UtilisationGPU Temperature
Added line 51:
GPU Electrical Watts usedGPU MHz 
January 18, 2016, at 05:36 PM by 127.0.0.1 -
Changed line 47 from:
http:/docs/util10_1024.png http:/docs/MHz_1024.png
to:
http:/docs/util10_1024.png http:/docs/MHz_1024.png 
January 18, 2016, at 05:35 PM by 127.0.0.1 -
Changed line 46 from:
All ten Linux Utilisation statsMHz changing on a S822LC  
to:
All ten Linux Utilisation statsMHz changing on a S822LC 
Changed lines 48-50 from:
nmon version 6 Nvidia GPU support on S822LC
and nmonchart 24 graphs
  
All ten Linux Utilisation statsMHz changing on a S822LC  
to:
nmon version 16 Nvidia GPU support on S822LC  
All ten Linux Utilisation statsMHz changing on a S822LC 
Changed line 51 from:
http:/docs/GPU_Watts.png http:/docs/GPU_MHz.png
to:
http:/docs/GPU_Watts.png http:/docs/GPU_MHz.png 
January 18, 2016, at 05:33 PM by 127.0.0.1 -
Changed lines 45-46 from:

and nmonchart 24 graphs ||

All ten Linux Utitliastion statsMHz changing on a S822LC
to:

and nmonchart 24 graphs || || ||

All ten Linux Utilisation statsMHz changing on a S822LC  
Changed lines 49-50 from:

and nmonchart 24 graphs ||

All ten Linux Utitliastion statsMHz changing on a S822LC
to:

and nmonchart 24 graphs || || ||

All ten Linux Utilisation statsMHz changing on a S822LC  
January 18, 2016, at 05:31 PM by 127.0.0.1 -
Changed lines 51-52 from:
http:/docs/GPU_CPU_Util.png http:/docs/GPU_CPU_Util.png http:/docs/GPU_Temp.png
http:/docs/GPU_Watts.png http:/docs/GPU_Watts.png
to:
http:/docs/GPU_CPU_Util.png http:/docs/GPU_MEM_Util.png http:/docs/GPU_Temp.png
http:/docs/GPU_Watts.png http:/docs/GPU_MHz.png
January 18, 2016, at 05:31 PM by 127.0.0.1 -
Changed line 14 from:
to:
Added lines 44-53:
nmon version 16 additions stats
and nmonchart 24 graphs
All ten Linux Utitliastion statsMHz changing on a S822LC
http:/docs/util10_1024.png http:/docs/MHz_1024.png
nmon version 6 Nvidia GPU support on S822LC
and nmonchart 24 graphs
All ten Linux Utitliastion statsMHz changing on a S822LC
http:/docs/GPU_CPU_Util.png http:/docs/GPU_CPU_Util.png http:/docs/GPU_Temp.png
http:/docs/GPU_Watts.png http:/docs/GPU_Watts.png
January 18, 2016, at 05:12 PM by 127.0.0.1 -
Changed lines 36-56 from:

http:/docs/pic1.png http:/docs/pic2.png http:/docs/pic3.png http:/docs/pic4.png http:/docs/pic5.png http:/docs/pic6.png http:/docs/pic7.png http:/docs/pic8.png http:/docs/pic9.png http:/docs/pic10.png http:/docs/pic11.png http:/docs/pic12.png http:/docs/pic13.png http:/docs/pic14.png http:/docs/pic15.png http:/docs/pic16.png http:/docs/pic17.png http:/docs/pic18.png http:/docs/pic19.png http:/docs/pic20.png http:/docs/pic21.png

to:
http:/docs/pic1.png http:/docs/pic2.png http:/docs/pic3.png
http:/docs/pic4.png http:/docs/pic5.png http:/docs/pic6.png
http:/docs/pic7.png http:/docs/pic8.png http:/docs/pic9.png
http:/docs/pic10.png http:/docs/pic11.png http:/docs/pic12.png
http:/docs/pic13.png http:/docs/pic14.png http:/docs/pic15.png
http:/docs/pic16.png http:/docs/pic17.png http:/docs/pic18.png
http:/docs/pic19.png http:/docs/pic20.png http:/docs/pic21.png
January 15, 2016, at 05:43 PM by 127.0.0.1 -
Changed line 22 from:
Comments on v24New Graphs: \\
to:
Comments on v24New Graphs: \\
January 15, 2016, at 05:43 PM by 127.0.0.1 -
Added lines 22-25:
Comments on v24New Graphs:
1) Now supported User Defined Disks Groups - good to nmon for Linux -g auto
2) POWER8 S822LC can have NVidia GPU adapters - GPU stats: GPU Util, memory Util, temperature, Watts and GPU MHz
3) Linux Utilisation all 10 stats: user, nice, system, ide, wait for IO, steal, irq, soft irq, guest and guest nice
January 15, 2016, at 05:38 PM by 127.0.0.1 -
Changed lines 21-22 from:
nmonchart23.tarCurrent version 23 - 1st Dec 2015
to:
nmonchart24.tarCurrent version 24 - 15th Jan 2016
nmonchart23.tar1st Dec 2015
December 01, 2015, at 10:53 PM by 127.0.0.1 -
Changed lines 71-75 from:

nmonchart is to complete - it is fairly simple Korn shell, grep, sed and awk. For data that is in fixed format like physical CPU, run queue and memory stats in the nmon output it is simple to pick out the column and graph it. For data that is not fixed format as it depends on the resources like disk, network, CPUs it is more complex as it has to workout the number of header line (the resource names) and data lines.

to:

nmonchart is a fairly simple Korn shell, grep, sed and awk. For data that is in fixed format like physical CPU, run queue and memory stats in the nmon output it is simple to pick out the column and graph it. For data that is not fixed format as it depends on the resources like disk, network, CPUs it is more complex as it has to workout the number of header line (the resource names) and data lines.

Changed lines 99-137 from:
    PHYSICAL_CPU - PhysicalCPU, VirtualCPU and entitlement (AIX only LPAR stats))
    POOLIDLE - If switched on at the LPAR level PoolIdle and Pool CPU count (AIX only
    CPU_UTILisation - User%, System%, Wait% and Idle%
    CPU_USE - Logical CPU Core Use (Power SMT or x86 Hyperthreads) Average(User%+System%)
    RUNQ - Run Queue in number of processes
    PSWITCH - Process Switches as the kernel rns different programs
    SYSCALL - Systems calls of processes requesting Kernel operations - Total and read, write calls
    READWRITE - Read and Write System calls only
    FORKEXEC - Systems call fork (duplicate a process) and exec (overwrite current process with a new program)
    FILEIO - System call - number of bytes on the read + write system call - includes disks, networt sockets and pipes
    REALMEM - Total RAM (MB) and Free RAM (MB) (AIX only)
    VIRTMEM - Virtual memory (paging space) Total (MB) and Free (MB) (AIX only)
    MEM_LINUX - Total RAM, Free RAM (MB), and other Linux memory stats (Linux Only)
    SWAP_LINUX - Swap size (MB) and Swap Free (MB (Linux only)
    FSCACHE - Filesystem Cache (numperm) size in percent with minperm% and maxperm%
    PAGING - Paging space: pages in (pgin) and out (pgout) plus Filesystem paging: in (pgsin) and out (psout)
    SWAPIN - Process swap back in to memory per second
    TOPSUM - If your nmon file includes TOP process (nmon -t or nmon -T) - Bubble diagram of top process by total CPU cycles, total I/O KB and max Memory size
	- horizontal axis = CPU cycles in total
	- vertical axis the I/O generated this could be network, disk, pipes, sockets
	- size of the bubble is the memory size
    TOPCMD - If your nmon file includes TOP process (nmon -t or nmon -T) - top 15 commands nd their CPU use over time. 

    NET - Network throughput read and write for each network in KByes per second
    NETPACKET - Numbers of read and write packets per second for each network
    NETSIZE - The average number of bytes in each packet for each network read and write
    ADAPT_KPS - Throughput in KBytes per second read and write for each disk adapter
    ADAPT_TPS - Transactions per second read and write for each disk adapter
    DISKBUSY - Disk busy percentage for each disk - Stacked lines
    DISKBUSYu - Disk busy percentage for each disk - Unstacked lines
    DISKREAD - Disk read throughput in KBytes per second for each disk - Stacked lines
    DISKREADu - Disk read throughput in KBytes per second for each disk - Unstacked lines
    DISKWRITE - Disk write throughput in KBytes per second for each disk - Stacked lines
    DISKWRITEu - Disk write throughput in KBytes per second for each disk - Unstacked lines
    DISKBSIZE - Disk block sizes
    DISKXTER - Disk Transfers per second
    JFS - Journaled Filesystem Percent Full
    IPC - Interprocess Communication meaning Semaphores and messages queues. 
to:
  1. PHYSICAL_CPU - PhysicalCPU, VirtualCPU and entitlement (AIX only LPAR stats))
  2. POOLIDLE - If switched on at the LPAR level PoolIdle and Pool CPU count (AIX only
  3. CPU_UTILisation - User%, System%, Wait% and Idle%
  4. CPU_USE - Logical CPU Core Use (Power SMT or x86 Hyperthreads) Average(User%+System%)
  5. RUNQ - Run Queue in number of processes
  6. PSWITCH - Process Switches as the kernel rns different programs
  7. SYSCALL - Systems calls of processes requesting Kernel operations - Total and read, write calls
  8. READWRITE - Read and Write System calls only
  9. FORKEXEC - Systems call fork (duplicate a process) and exec (overwrite current process with a new program)
  10. FILEIO - System call - number of bytes on the read + write system call - includes disks, networt sockets and pipes
  11. REALMEM - Total RAM (MB) and Free RAM (MB) (AIX only)
  12. VIRTMEM - Virtual memory (paging space) Total (MB) and Free (MB) (AIX only)
  13. MEM_LINUX - Total RAM, Free RAM (MB), and other Linux memory stats (Linux Only)
  14. SWAP_LINUX - Swap size (MB) and Swap Free (MB (Linux only)
  15. FSCACHE - Filesystem Cache (numperm) size in percent with minperm% and maxperm%
  16. PAGING - Paging space: pages in (pgin) and out (pgout) plus Filesystem paging: in (pgsin) and out (psout)
  17. SWAPIN - Process swap back in to memory per second
  18. TOPSUM - If your nmon file includes TOP process (nmon -t or nmon -T) - Bubble diagram of top process by total CPU cycles, total I/O KB and max Memory size
    • horizontal axis = CPU cycles in total
    • vertical axis the I/O generated this could be network, disk, pipes, sockets
    • size of the bubble is the memory size
  19. TOPCMD - If your nmon file includes TOP process (nmon -t or nmon -T) - top 15 commands nd their CPU use over time.
  20. NET - Network throughput read and write for each network in KByes per second
  21. NETPACKET - Numbers of read and write packets per second for each network
  22. NETSIZE - The average number of bytes in each packet for each network read and write
  23. ADAPT_KPS - Throughput in KBytes per second read and write for each disk adapter
  24. ADAPT_TPS - Transactions per second read and write for each disk adapter
  25. DISKBUSY - Disk busy percentage for each disk - Stacked lines
  26. DISKBUSYu - Disk busy percentage for each disk - Unstacked lines
  27. DISKREAD - Disk read throughput in KBytes per second for each disk - Stacked lines
  28. DISKREADu - Disk read throughput in KBytes per second for each disk - Unstacked lines
  29. DISKWRITE - Disk write throughput in KBytes per second for each disk - Stacked lines
  30. DISKWRITEu - Disk write throughput in KBytes per second for each disk - Unstacked lines
  31. DISKBSIZE - Disk block sizes
  32. DISKXTER - Disk Transfers per second
  33. JFS - Journaled Filesystem Percent Full
  34. IPC - Interprocess Communication meaning Semaphores and messages queues.
Changed lines 140-142 from:
    More than 150 Disks - You have the adapter view for overall Disk stats. Data files with crazy numbers of disks in the thousands are just impossible or graph or manage (IMHO). The first 150 plus the adapter totals is a good compromise.
    Disk service times - see above. Perhaps we need a different set of graphs just for the disk junkies!! Personally, we should get the disk subsystems to do the I/O spreading work and hid a disk mess from the UNIX / Linux Sys admin team.
to:
  • More than 150 Disks - You have the adapter view for overall Disk stats. Data files with crazy numbers of disks in the thousands are just impossible or graph or manage (IMHO).
  • The first 150 plus the adapter totals is a good compromise.
  • Disk service times - see above. Perhaps we need a different set of graphs just for the disk junkies!!
  • Personally, we should get the disk subsystems to do the I/O spreading work and hid a disk mess from the UNIX / Linux Sys admin team.
Changed lines 147-150 from:
	Individual Logical CPU Utilisation (up to 1536 with the new E880 with 192 cores)
        Mostly pointless and misleading - they are time sharing the physical CPU cores.
        Better to study the VM LPAR physical CPU use and UTIL graphs. 
to:
  • Individual Logical CPU Utilisation (up to 1536 with the new E880 with 192 cores)
  • Mostly pointless and misleading - they are time sharing the physical CPU cores.
  • Better to study the VM LPAR physical CPU use and UTIL graphs.
Changed lines 169-170 from:
  1. If something like the number of disks changes during the collecting of data then you will find the disk buttons and later buttons will not work. The nmon data collect does NOT handle this by design. This is to reduce nmon CPU time by a large amount.
to:
  1. If something like the number of disks changes during the collecting of data then you will find the disk buttons and later buttons will not work.
    1. The nmon data collect does NOT handle this by design. This is to reduce nmon CPU time by a large amount.
Changed lines 179-182 from:

Current AIX 6 and 7 Back dated AIX 6 and 7 including some with nmon errors of 5 years ago Old AIX 5 files - mostly to check utilisation before upgrading to POWER8

to:

- Current AIX 6 and 7 - Back dated AIX 6 and 7 including some with nmon errors of 5 years ago - Old AIX 5 files - mostly to check utilisation before upgrading to POWER8

Changed lines 186-188 from:

I would like more examples from Mainframe and Linux Distro's like Fedora OpenSUSE, Debian etc. and collected by nmon 15 from within a VM especially overworked machines showing CPU Steal utilisation time.

to:

I would like more examples from Mainframe and Linux Distro's like Fedora OpenSUSE, Debian etc. and collected by nmon 15 from within a VM especially overworked machines showing CPU Steal utilisation time.

Changed lines 202-203 from:

I set up a crude upload your nmon file webpage and a cron job to create the .html files and a further script to generate a webpage to list the resulting .html files listed by hostname and then the date and listing the OS.

to:

I set up a crude upload your nmon file webpage and a cron job to create the .html files and a further script to generate a webpage to list the resulting .html files listed by hostname and then the date and listing the OS.

December 01, 2015, at 10:47 PM by 127.0.0.1 -
Changed lines 18-29 from:
to:

Downloads

Download FileComments
nmonchart23.tarCurrent version 23 - 1st Dec 2015
Comments on v23Small change in handling November and December dates
- Google chart decided Nov month as 010 was in binary!
Bug identified and fix found by Clifford Weinmann - many thanks
Plus more comments in the code.
nmonchart22.tarInitial Release - 8th May 2015

Deleted lines 52-61:

Downloads

Download FileComments
nmonchart23.tarCurrent version 22 - 1st Dec 2015
Small change in handling November and December dates (Google chart decided Nov month as 010 was in binary!!)
Bug identified and fix found by Clifford Weinmann

Plus more comments in the code. ||

nmonchart22.tarInitial Release - 8th May 2015
Added line 54:
December 01, 2015, at 10:44 PM by 127.0.0.1 -
Changed lines 46-50 from:
nmonchart22.tarThis is the current version 22 - 8th May 2015
to:
nmonchart23.tarCurrent version 22 - 1st Dec 2015
Small change in handling November and December dates (Google chart decided Nov month as 010 was in binary!!)
Bug identified and fix found by Clifford Weinmann

Plus more comments in the code. ||

nmonchart22.tarInitial Release - 8th May 2015
November 25, 2015, at 02:06 PM by 127.0.0.1 -
June 08, 2015, at 02:34 PM by 127.0.0.1 -
Added lines 27-40:

http:/docs/pic8.png http:/docs/pic9.png http:/docs/pic10.png http:/docs/pic11.png http:/docs/pic12.png http:/docs/pic13.png http:/docs/pic14.png http:/docs/pic15.png http:/docs/pic16.png http:/docs/pic17.png http:/docs/pic18.png http:/docs/pic19.png http:/docs/pic20.png http:/docs/pic21.png

June 08, 2015, at 02:01 PM by 127.0.0.1 -
Deleted line 22:

http:/docs/pic4.png

Changed line 24 from:
to:

http:/docs/pic5.png

June 08, 2015, at 01:59 PM by 127.0.0.1 -
Changed line 25 from:

http:/docs/pic5.png

to:
June 08, 2015, at 01:59 PM by 127.0.0.1 -
Changed line 19 from:

Galary

to:

Gallery

June 08, 2015, at 01:58 PM by 127.0.0.1 -
Added lines 26-27:

http:/docs/pic6.png http:/docs/pic7.png

June 08, 2015, at 01:57 PM by 127.0.0.1 -
Deleted lines 5-6:

http://sourceforge.net/projects/nmon/files/nmonchart22_a_phys.jpg

Changed lines 18-26 from:

to:

Galary http:/docs/pic1.png http:/docs/pic2.png http:/docs/pic3.png http:/docs/pic4.png http:/docs/pic4.png http:/docs/pic5.png

June 08, 2015, at 01:00 PM by 127.0.0.1 -
Changed lines 17-18 from:

Here is a simple small sample file so you can see what the graphs look like: sampleC.html

to:

Here is a simple small sample file so you can see what the graphs look like: sampleC.html

June 08, 2015, at 09:16 AM by 127.0.0.1 -
Changed lines 17-18 from:

Here is a simple small sample file so you can see what the graphs look like: sampleC.html sampleC.html

  • Note: SourceForge will want to download the file (90 KB) to your machine and then you can use a browser to open it.
to:

Here is a simple small sample file so you can see what the graphs look like: sampleC.html

June 08, 2015, at 09:11 AM by 127.0.0.1 -
Changed line 17 from:

Here is a simple small sample file so you can see what the graphs look like: sampleC.html

to:

Here is a simple small sample file so you can see what the graphs look like: sampleC.html sampleC.html

June 08, 2015, at 09:05 AM by 127.0.0.1 -
Changed lines 3-4 from:
http:/docs/nmonChart.pngnmonchart is a Korn shell script for AIX or Linux to convert nmon collected files to a webpage (.html) including Google Chart and
JavaScript to display the top 35+ AIX and Linux Performance Graphs and configuration details.
to:
http:/docs/nmonChart.pngnmonchart is a Korn shell script for AIX or Linux to convert nmon collected files to a webpage (.html) including Google Chart and
JavaScript to display the top 35+ AIX and Linux Performance Graphs and configuration details
June 08, 2015, at 09:04 AM by 127.0.0.1 -
Changed line 1 from:

nmonchart - from nmon data create a webpage of graphs

to:

nmonchart - webpage graphs from nmon data

June 08, 2015, at 09:01 AM by 127.0.0.1 -
Changed lines 3-4 from:

nmonchart is a Korn shell script to convert nmon collected files to a webpage (.html) including Google chart JavaScript to display the AIX and Linux Performance data.

to:
http:/docs/nmonChart.pngnmonchart is a Korn shell script for AIX or Linux to convert nmon collected files to a webpage (.html) including Google Chart and
JavaScript to display the top 35+ AIX and Linux Performance Graphs and configuration details.
Changed line 12 from:
  • nmonchart blue_150508_0800.nmon blue_150508_0800.html
to:
  • nmonchart blue_150508_0800.nmon blue_150508_0800.html
May 08, 2015, at 12:16 PM by 127.0.0.1 -
Added lines 4-5:

http://sourceforge.net/projects/nmon/files/nmonchart22_a_phys.jpg

May 08, 2015, at 09:56 AM by 127.0.0.1 -
Changed line 11 from:

or you could put the .html straight on to your website (assuming apache is using /var/www/html)

to:

or you could put the .html straight on to your website (assuming Apache is using /var/www/html)

Changed lines 14-16 from:

Here is a simple small sample file so you can see what the graphs look like: sampleC.html - SourceForge will want to download the file to your machine and then you can use a browser to open it.

  • http://sourceforge.net/projects/nmon/files/sampleC.html
to:

Here is a simple small sample file so you can see what the graphs look like: sampleC.html

  • Note: SourceForge will want to download the file (90 KB) to your machine and then you can use a browser to open it.
May 08, 2015, at 09:55 AM by 127.0.0.1 -
Changed lines 14-16 from:

Here is a simple small sample file so you can see what the graphs look like: sampleC.html

to:

Here is a simple small sample file so you can see what the graphs look like: sampleC.html - SourceForge will want to download the file to your machine and then you can use a browser to open it.

  • http://sourceforge.net/projects/nmon/files/sampleC.html
May 08, 2015, at 09:52 AM by 127.0.0.1 -
Added line 14:

Here is a simple small sample file so you can see what the graphs look like: sampleC.html

May 08, 2015, at 09:49 AM by 127.0.0.1 -
Changed lines 21-23 from:

README for nmonchart 22 by Nigel Griffiths ==========================================

to:

README for nmonchart 22 by Nigel Griffiths

Changed lines 58-59 from:

Output file size

to:

Output file size

Changed lines 65-66 from:

Summary of the graphs

to:

Summary of the graphs

Changed line 107 from:

Graphs not supported

to:

Graphs not supported

Changed line 112 from:

Graphs that are not going to happen and why

to:

Graphs that are not going to happen and why?

Changed line 114 from:
        Mostly pointless and misleading - they are timesharing the physical CPU cores.
to:
        Mostly pointless and misleading - they are time sharing the physical CPU cores.
Changed line 118 from:

Adding new graphs

to:

Adding new graphs

Changed lines 128-129 from:

nmonchart created webpages or Graph failures

to:

nmonchart created web pages or Graph failures

Changed lines 131-138 from:

1 Feel free to send me the original nmon file to investigate 2 Mostly, the webpage will probably display OK but the buttons will not work 3 Javascript and Google charts are rather fussy in the syntax. 4 Sometimes the first few graphs work but later in the page ones will not do anything - this is a good indicator of where the syntax issue is in the file. 5 If something like the number of disks changes during the collecting of data then you will find the disk buttons and later buttons will not work. The nmon data collect does NOT handle this by design. This is to reduce nmon CPU time by a large amount. 6 you could go looking at the .html file looking for oddly formatted lines - I have tried to indent the Java script code to make this possible. 7 If you work a fix please email the original and the fixed nmonchart scripts.

to:
  1. Feel free to send me the original nmon file to investigate
  2. Mostly, the webpage will probably display OK but the buttons will not work
  3. Javascript and Google charts are rather fussy in the syntax.
  4. Sometimes the first few graphs work but later in the page ones will not do anything - this is a good indicator of where the syntax issue is in the file.
  5. If something like the number of disks changes during the collecting of data then you will find the disk buttons and later buttons will not work. The nmon data collect does NOT handle this by design. This is to reduce nmon CPU time by a large amount.
  6. You could go looking at the .html file looking for oddly formatted lines - I have tried to indent the Java script code to make this possible.
  7. If you work a fix please email the original and the fixed nmonchart scripts.
Changed lines 140-141 from:

Testing of nmonchart

to:

Testing of nmonchart

Changed line 150 from:

Other Linux distro' and some older releases too.

to:

Other Linux Distro's and some older releases too.

Changed lines 158-159 from:

Upload and Generate Graphs Website ==================================

to:

Upload and Generate Graphs Website

IBMers can use this internal site:

  • Uploads http://w3.aixncc.uk.ibm.com/nmon_upload.html
  • See the charts http://w3.aixncc.uk.ibm.com/nmonchart/index.html
Changed lines 176-180 from:
	My apache website /webpages/docs
	the resulting .html are placed here /webpages/docs/nmonchart
	the cron generate index.html of graphs here /webpages/docs/nmonchart/index.html
	the uploads end up here /webpages/docs/nmon_upload
	the final place for the .nmon files /home/nag/nmoncharttmp
to:
  • My apache website /webpages/docs
  • the resulting .html are placed here /webpages/docs/nmonchart
  • the cron generate index.html of graphs here /webpages/docs/nmonchart/index.html
  • the uploads end up here /webpages/docs/nmon_upload
  • the final place for the .nmon files /home/nag/nmoncharttmp
May 08, 2015, at 09:44 AM by 127.0.0.1 -
Added lines 3-14:

nmonchart is a Korn shell script to convert nmon collected files to a webpage (.html) including Google chart JavaScript to display the AIX and Linux Performance data.

Syntax:

  • nmonchart <nmon-file> <output-file>

For example:

  • nmonchart blue_150508_0800.nmon blue_150508_0800.html

or you could put the .html straight on to your website (assuming apache is using /var/www/html)

  • nmonchart blue_150508_0800.nmon /var/www/html/blue_150508_0800.html
Added lines 20-189:

README for nmonchart 22 by Nigel Griffiths ==========================================

The Korn shell script file nmonchart transforms .nmon performance capture files in to .html files for a webserver site.

If your .nmon is called hostname_date_time.nmon and the website pages are at /webpages/docs then use it like this:

	./nmonchart hostname_date_time.nmon /webpages/docs/hostname_date_time.html

Then nmonchart Korn shell script needs the Korn shell installed. - it has NOT been tested on Csh or bash. AIX and Linux have Korn Shell called kshi - if your like does not have it you should install it.

The script works out if it is running on AIX or Linux and makes two changes based on that. - see the top 10 lines for this.

nmonchart is to complete - it is fairly simple Korn shell, grep, sed and awk. For data that is in fixed format like physical CPU, run queue and memory stats in the nmon output it is simple to pick out the column and graph it. For data that is not fixed format as it depends on the resources like disk, network, CPUs it is more complex as it has to workout the number of header line (the resource names) and data lines. The graphs like TOPSUM and TOPCMD are quite tricky.

For testing I have supplied a sample nmon file called: sampleC.nmon and a sample output file called: sampleC.html which was generated using the following command: ./nmonchart sampleC.nmon sampleC.html

Examine the sample.html to find out how the data and graphs are generated. - It is using Javascript - The Googlechart library (directly from the web) is used to generate the graphs - - find more information here https://developers.google.com/chart/ - - it has lots of functions and pretty graphs - then for each graphs - - There is the data in an array format and the ZZZ data transformed in to a java dat format - - Then the chart drawing options and graph instructions - At the bottom it creates the Javascript buttons and then the config data that is displayed at the bottom of the webpage.


Output file size

Also note nmonchart output files are typically much smaller than the original nmon file. Something like 20% of the size. This is unlike the nmon Analyser file output which can typically be twice the size.


Summary of the graphs

    PHYSICAL_CPU - PhysicalCPU, VirtualCPU and entitlement (AIX only LPAR stats))
    POOLIDLE - If switched on at the LPAR level PoolIdle and Pool CPU count (AIX only
    CPU_UTILisation - User%, System%, Wait% and Idle%
    CPU_USE - Logical CPU Core Use (Power SMT or x86 Hyperthreads) Average(User%+System%)
    RUNQ - Run Queue in number of processes
    PSWITCH - Process Switches as the kernel rns different programs
    SYSCALL - Systems calls of processes requesting Kernel operations - Total and read, write calls
    READWRITE - Read and Write System calls only
    FORKEXEC - Systems call fork (duplicate a process) and exec (overwrite current process with a new program)
    FILEIO - System call - number of bytes on the read + write system call - includes disks, networt sockets and pipes
    REALMEM - Total RAM (MB) and Free RAM (MB) (AIX only)
    VIRTMEM - Virtual memory (paging space) Total (MB) and Free (MB) (AIX only)
    MEM_LINUX - Total RAM, Free RAM (MB), and other Linux memory stats (Linux Only)
    SWAP_LINUX - Swap size (MB) and Swap Free (MB (Linux only)
    FSCACHE - Filesystem Cache (numperm) size in percent with minperm% and maxperm%
    PAGING - Paging space: pages in (pgin) and out (pgout) plus Filesystem paging: in (pgsin) and out (psout)
    SWAPIN - Process swap back in to memory per second
    TOPSUM - If your nmon file includes TOP process (nmon -t or nmon -T) - Bubble diagram of top process by total CPU cycles, total I/O KB and max Memory size
	- horizontal axis = CPU cycles in total
	- vertical axis the I/O generated this could be network, disk, pipes, sockets
	- size of the bubble is the memory size
    TOPCMD - If your nmon file includes TOP process (nmon -t or nmon -T) - top 15 commands nd their CPU use over time. 

    NET - Network throughput read and write for each network in KByes per second
    NETPACKET - Numbers of read and write packets per second for each network
    NETSIZE - The average number of bytes in each packet for each network read and write
    ADAPT_KPS - Throughput in KBytes per second read and write for each disk adapter
    ADAPT_TPS - Transactions per second read and write for each disk adapter
    DISKBUSY - Disk busy percentage for each disk - Stacked lines
    DISKBUSYu - Disk busy percentage for each disk - Unstacked lines
    DISKREAD - Disk read throughput in KBytes per second for each disk - Stacked lines
    DISKREADu - Disk read throughput in KBytes per second for each disk - Unstacked lines
    DISKWRITE - Disk write throughput in KBytes per second for each disk - Stacked lines
    DISKWRITEu - Disk write throughput in KBytes per second for each disk - Unstacked lines
    DISKBSIZE - Disk block sizes
    DISKXTER - Disk Transfers per second
    JFS - Journaled Filesystem Percent Full
    IPC - Interprocess Communication meaning Semaphores and messages queues. 

Graphs not supported

    More than 150 Disks - You have the adapter view for overall Disk stats. Data files with crazy numbers of disks in the thousands are just impossible or graph or manage (IMHO). The first 150 plus the adapter totals is a good compromise.
    Disk service times - see above. Perhaps we need a different set of graphs just for the disk junkies!! Personally, we should get the disk subsystems to do the I/O spreading work and hid a disk mess from the UNIX / Linux Sys admin team.

Graphs that are not going to happen and why

	Individual Logical CPU Utilisation (up to 1536 with the new E880 with 192 cores)
        Mostly pointless and misleading - they are timesharing the physical CPU cores.
        Better to study the VM LPAR physical CPU use and UTIL graphs. 

Adding new graphs - I am interested in hearing you ideas on new graphs you would like to have. - They need to add value for most nmon users - Adding graphs from the nmon file is pretty easy as we have already worked though the issues of most formatting options - So it is a cut'n'paste rename the graph and make minor formatting changes for the column, don't forget the button line at the bottom.

- Yet more disks graphs for stupidly high numbers of disks is not a good idea. We could give an option to fine the top 20 over used disk names!


nmonchart created webpages or Graph failures

If you transform the nmon data but the webpage does not work - what should you do? 1 Feel free to send me the original nmon file to investigate 2 Mostly, the webpage will probably display OK but the buttons will not work 3 Javascript and Google charts are rather fussy in the syntax. 4 Sometimes the first few graphs work but later in the page ones will not do anything - this is a good indicator of where the syntax issue is in the file. 5 If something like the number of disks changes during the collecting of data then you will find the disk buttons and later buttons will not work. The nmon data collect does NOT handle this by design. This is to reduce nmon CPU time by a large amount. 6 you could go looking at the .html file looking for oddly formatted lines - I have tried to indent the Java script code to make this possible. 7 If you work a fix please email the original and the fixed nmonchart scripts.


Testing of nmonchart

Using the internal to IBM website we had more than 200 nmon files to test. This includes Current AIX 6 and 7 Back dated AIX 6 and 7 including some with nmon errors of 5 years ago Old AIX 5 files - mostly to check utilisation before upgrading to POWER8

Current Linux on Power from SUSE, Ubuntu and Red Hat Current Linux on x86 and x86_64 from SUSE, Ubuntu and Red Hat and also other hardware like ARM. Other Linux distro' and some older releases too. I would like more examples from Mainframe and Linux Distro's like Fedora OpenSUSE, Debian etc. and collected by nmon 15 from within a VM especially overworked machines showing CPU Steal utilisation time.

On strange, rare or older nmon files a lot of work has gone in to support oddly formatted data - nmonchart is now pretty robust ... unless you know differently


Upload and Generate Graphs Website ================================== This is just a starter for ten - you will be required to do significant work. You will have to know HTML, scripting and a little PHP. I am not offering hand holding support to get your working.

I set up a crude upload your nmon file webpage and a cron job to create the .html files and a further script to generate a webpage to list the resulting .html files listed by hostname and then the date and listing the OS.

- nmon_upload.html - the upload webpage - nmon_upload.php - the PHP that actually uploads the file - nmonchart_cron - the cron job that runs nmonchart on new uploads and generated the webpage of hosts and graphs.

This is provided "as is" but comes with loads of assumptions in the code:

	My apache website /webpages/docs
	the resulting .html are placed here /webpages/docs/nmonchart
	the cron generate index.html of graphs here /webpages/docs/nmonchart/index.html
	the uploads end up here /webpages/docs/nmon_upload
	the final place for the .nmon files /home/nag/nmoncharttmp

I may try to clean these up and make them generic.

I would actually like some help doing a much better job and the above has a 8 MB limit and is slow and I would like a multiple file upload system. The 60 second cron job is also crude. The index.html needs to automatically refresh once a minute or so.

I actually have a budget to run a WWW upload website to help those not interested in setting up their own. - expect more information as soon as I can set this up.

Cheers Nigel Griffiths nigelargriffiths@hotmail.com Twitter @mr_nmon

May 08, 2015, at 09:05 AM by 127.0.0.1 -
Added lines 1-7:

nmonchart - from nmon data create a webpage of graphs

Downloads

Download FileComments
nmonchart22.tarThis is the current version 22 - 8th May 2015
Edit - History - Print - Recent Changes - Search
Page last modified on November 04, 2017, at 01:16 PM