Nmon


nmon displays the performance stats on-screen in a condensed format or b) the same stats are saved to a comma-separated values data file for later graphing and analysis to aid the understanding of computer resource use, tuning options and bottlenecks.

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. Use h to display a list of the options.
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 saved file is in a comma separated values format with a simple for later processing and graphing.

History

The original nmon version was for the IBM AIX operating system and was freely downloadable binary format only tool from the IBM AIX wiki.
The two editions have completely different source code but offer many similar features, command line options and data — as much as the underlying operating system allow.
nmon is used by AIX and Linux Systems Administrators and performance tuning specialists around the world.
There have been 600,000 downloads of nmon for Linux from SourceForge, showing it popularity and it is found in Linux operating System Repositories.

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.

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 spread sheet 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.