====== NMON for Linux ====== ---- This systems administrator, tuner, benchmark tool gives you a huge amount of important performance information in one go. It can output the data in two ways On screen (console, telnet, VNC, putty or X Windows) using curses for low CPU impact which is updated once every two seconds. You hit single characters on you keyboard to enable/disable the various sorts of data. You can display the CPU, memory, network, disks (mini graphs or numbers), file systems, NFS, top processes, resources (Linux version & processors) and on Power micro-partition information. For lots of examples, see the "Screen shots" from the left menu. As you can see on the left lmon12e now in colour {{ :linux:nmon_linux_1.gif |}} Save the data to a comma separated file for analysis and longer term data capture. Use this together with nmon Analyser Excel 2000 spreadsheet, which loads the nmon output file and automatically creates dozens of graphs ready for you to study or write performance reports. Filter this data, add it to a rrd database (using an excellent freely available utility called rrdtool). This graphs the data to .gif or .png files plus generates the webpage .html file and you can then put the graphs directly on a website automatically on AIX with no need of a Windows based machine. Directly put the data into a rrd database or other database for your own analysis {{ :linux:nmon_linux_2.jpg |}} ===== Details ===== ---- * nmon is a single binary for * each operating system (Red Hat, SUSE, Ubuntu, Fedora, OpenSUSE etc.) * each platform (Power, Mainframe, x86 or x86_64). * Installing is very easy - just start the right executable. * Why use five or six tools when one free tool can give you everything you need!! For the pre-compiled versions - click on [[http://nmon.sourceforge.net/pmwiki.php?n=Site.Download|Download]] For the source code & compiling - click on [[http://nmon.sourceforge.net/pmwiki.php?n=Site.CompilingNmon|Compiling nmon Data Analysis]] Once you save the nmon data you have a number of options to analyser and graph the statistics. nmon Analyser Excel Spread-sheet [[https://www.ibm.com/developerworks/community/wikis/home?lang=en|Download]] * This is the original tool and been developed over many years by Stephen Atkins * You can request support via the Performance Tools Forum * However, Linux users might not like the idea of using the Microsoft Excel Spreadsheet and automating the creation of graphs can be tricky. Sample Graphs out of the many (see screen shots for more and larger examples): {{ :linux:nmon_linux_3.gif |}} CPU Compared to Disk I/O {{ :linux:nmon_linux_4.gif |}} Disk Read and Write with I/O per second {{ :linux:nmon_linux_5.gif |}} Hot Disk analysis with Average, Weighted Average and Peak values {{ :linux:nmon_linux_6.gif |}} Network Read (top half) and Write (bottom half) Transfer Rates ===== Now - Open Source ===== ---- nmon for Linux is a single source code file of 5000 lines and single makefile. This will enable you to compile nmon for your precise Linux version (if you can't find what you want in the binaries) and open a few other possibilities: * Fixing my code - be gentle, please. * Removing magic numbers i.e. constants that can catch us out as machines get larger * Developing for some strange environments like machines with no disks, blades that boot from NFS, internal Linux based engines within disks subsystems, embedded machines. * Who knows we may get nmon for Linux within the Linux Distro's - any one know how to go about that? Thanks for your support, suggestions, testing and I hope this starts a whole new wave of development and interest.