Nmon is a free tool available for both AIX and Linux to monitor the performance of the AIX and Linux servers in terms of I/O, CPU Usage, top processes etc. It is bundled with AIX and is available free for Linux. It is widely used by AIX system administrators and performance tuning specialists.
Nmon has very small footprint when in use but it captures very useful information. Normally it is located under /usr/local/bin directory.
│ CPU-Utilisation-Small-View ──────────────────────────────────────────────────│
│CPU User% Sys% Wait% Idle%| | | | |│
│ 0 0.0 0.0 0.0 100.0| > |│
│ 1 0.0 0.0 0.0 100.0|> |│
│ 2 4.0 1.0 0.0 95.0|U > |│
│ 3 0.0 0.0 0.0 100.0| > |│
│ 4 4.0 1.0 0.0 95.0|U > |│
│ 5 0.0 0.0 0.0 100.0|> |│
│Physical Averages +———–|————|———–|————+│
│All 1.8 0.6 0.0 97.7|> |│
Above is small fragmented screen shot of nmon at work. It can be scheduled as cronjob and output can be sent to file as well for later diagnostics.
With this brief introduction of nmon, we will talk about nmon analyzer, which is the topic of the blog. Again this is free tool available by IBM, which consolidates data from nmon output and represent it in a very user friendly graphs and charts. Basically it takes output files generated by nmon tool as an input and churns out various graphs/charts in a excel format which one can print, mail or even publish on the web.
There is only one caveat. IBM does not support the tool officially so one cannot seek any help from IBM. Here is the link from which it can be downloaded for free. The tool will be downloaded as a zip file that contains excel file, sample input file and user documentation.