Nmon

Last updated
nmon
Original author Nigel Griffiths
Developer IBM
Stable release
16q [1]   OOjs UI icon edit-ltr-progressive.svg / 22 April 2024;18 months ago (22 April 2024)
Operating system AIX, Linux
Type System monitor
License GNU GPL (Linux), Proprietary software (AIX)
Website nmon.sourceforge.io OOjs UI icon edit-ltr-progressive.svg

nmon (Nigel's Monitor [2] ) is a computer performance system monitor tool for the AIX and Linux operating systems. [3] [4] The nmon tool has two modes a) displays the performance stats on-screen in a condensed format or b) the same stats are saved to a comma-separated values (CSV) data file for later graphing and analysis to aid the understanding of computer resource use, tuning options and bottlenecks.

Contents

nmon for Linux is open source and available under GNU General Public License while the nmon for AIX is a proprietary software integrated into AIX.

Description

nmon collects the following operating system statistics:

When viewing in on-screen mode the stats displayed are controlled by the user using single letter toggles. For example, "c" to show CPU and then another "c" will switch the CPU stats off. Others include:

When saving the stats to a file, there is a common default set of stats and then users can request more using command line options. Use nmon -? to display all the options.

The output file can be analyzed with nmon_analyzer. [5]

History

The original nmon version was for the IBM AIX operating system (Release 4.3 and above) and was freely downloadable binary format only tool from the IBM AIX wiki. [6]

The two editions (AIX and Linux) have completely different source code but offer many similar features, command line options and data as much as the underlying operating system allow.

Features

  1. In Online Mode it uses curses for efficient screen handling, which updates the terminal frequently for real-time monitoring.
  2. In Capture Mode, the data is saved to a file in CSV format for later processing and graphing. The file also includes important configuration details that are useful for recommending tuning.

Screenshots

Alternatives

On AIX, there is the topas command that can output reports to a file but this is not in a format that can be used easily as a source for a spreadsheet or web tools like RRDtool.

On Linux, there is the top command which is good for CPU and processes but does not cover disks and networks. For disk I/O, the iostat command can give you the details and ntop for network information. But neither of these commands allow saving data in a format suitable for a spreadsheet or simple further processing. Linux utility dstat can be used to produce text data, even in comma separated value format, which is quite suitable for spreadsheet programs.

References

  1. "nmon for Linux" . Retrieved 18 February 2024.
  2. Layton, Jeff. "Monitoring with Nmon » ADMIN Magazine". ADMIN Magazine. Retrieved September 10, 2017.
  3. Wallen, Jack (2017-03-14). "How to monitor your Linux servers with nmon". TechRepublic. Retrieved 2020-12-07.
  4. Terpollari, Oltjano. "Nmon: Analyze and Monitor Linux System Performance". www.tecmint.com. Retrieved 2020-12-07.
  5. Griffiths, Nigel (2020-01-13). "nmon_analyser: A free tool for producing AIX performance reports". developer.ibm.com.
  6. Griffiths, Nigel (February 27, 2006). "IBM Developer". IBM developerWorks. Archived from the original on January 28, 2015. Retrieved January 24, 2015.
  7. "nmon for Linux | Main / HomePage". nmon.sourceforge.net. Retrieved January 24, 2015.
  8. "nmon Command". Archived from the original on October 11, 2014. Retrieved January 24, 2015.
  9. "Commands Reference, Volume 5, s - u" (PDF). IBM. p. 386.