Forrest logo
back to the nmon tool

nmon:tldr:7f679

nmon: Save records to file ("-s 300 -c 288" by default).
$ nmon -f
try on your machine

The command "nmon -f" is used to start the nmon (short for Nigel's Monitor) tool in data collection mode and save the collected data in a file.

Here's a breakdown of the command:

  • "nmon" is the command used to launch the nmon tool.
  • "-f" is an option/flag that is used to specify the filename for the collected data.

When you execute the "nmon -f" command, the nmon tool starts running and collects various system performance data such as CPU usage, memory usage, disk I/O, network statistics, etc. It continuously captures this data in intervals and saves it to a file specified by the user. The filename can be provided as an argument after the "-f" option, for example: "nmon -f mydata.nmon" would save the data to a file named "mydata.nmon".

The generated file can later be analyzed or viewed using the nmon tool itself or by using specialized tools to interpret and visualize the performance data.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the nmon tool