LinuxCommandLibrary

nmon

TLDR

Start interactive nmon

$ nmon
copy
Save records to file with defaults
$ nmon -f
copy
Save with 30 second interval, 240 measurements
$ nmon -f -s 30 -c 240
copy
Enable capacity planning mode
$ nmon -x
copy
Include top processes in output
$ nmon -fdt
copy

SYNOPSIS

nmon [-h] [-s seconds] [-c count] [-f -d disks -t -r name] [-x]

DESCRIPTION

nmon is a systems administrator, tuner, and benchmark tool that monitors and displays CPU, memory, network, disks, file systems, NFS, top processes, and resource information. It can run interactively or output data to a spreadsheet-compatible file.

PARAMETERS

-h

Display full help information
-f
Enable spreadsheet output format for file recording
-s SECONDS
Set refresh interval in seconds (default: 2)
-c COUNT
Set number of refreshes to capture
-d DISKS
Increase disk monitoring count (default: 256)
-t
Include top processes in spreadsheet output
-x
Enable capacity planning mode with 15-minute intervals over 1 day (-fdt -s 900 -c 96)
-r NAME
Set the filename prefix for output files

CAVEATS

In interactive mode, press "h" for help on available keyboard shortcuts. The default spreadsheet mode uses -s300 -c288 (5-minute intervals for 24 hours). Output files are in CSV format suitable for analysis tools.

HISTORY

nmon was created by Nigel Griffiths at IBM and has become a popular performance monitoring tool for Linux systems.

SEE ALSO

top(1), vmstat(8), iostat(1), sar(1)

> TERMINAL_GEAR

Curated for the Linux community

BOSGAME Mini PC N95, Intel 12th Mini Computers| 16GB DDR4 RAM| 512GB M.2 2280 SSD| 4K 60HZ Triple Displays by Dual HDMI+Type-C, 6W TDP Quiet Mini PC, WIFI5, BT 5.0 Office

BOSGAME Mini PC N95, Intel 12th Mini Computers| 16GB DDR4 RAM| 512GB M.2 2280 SSD| 4K 60HZ Triple Displays by Dual HDMI+Type-C, 6W TDP Quiet Mini PC, WIFI5, BT 5.0 Office

$239.99
New Raspberry Pi 3 Model B+ Board Raspberry PI 3B+

New Raspberry Pi 3 Model B+ Board Raspberry PI 3B+

$54.00
GMKtec Gaming PC, K11 AMD Ryzen 9 8945HS, 32GB DDR5 RAM 1TB Mini PC Desktop Computer, Oculink, Dual NIC 2.5GbE LAN, HDMI/DisplayPort/USB4*2

GMKtec Gaming PC, K11 AMD Ryzen 9 8945HS, 32GB DDR5 RAM 1TB Mini PC Desktop Computer, Oculink, Dual NIC 2.5GbE LAN, HDMI/DisplayPort/USB4*2

$739.99
Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community

New Raspberry Pi 3 Model B+ Board Raspberry PI 3B+

New Raspberry Pi 3 Model B+ Board Raspberry PI 3B+

$54.00
Raspberry Pi 5 8GB

Raspberry Pi 5 8GB

$134.50
BOSGAME Mini PC N95, Intel 12th Mini Computers| 16GB DDR4 RAM| 512GB M.2 2280 SSD| 4K 60HZ Triple Displays by Dual HDMI+Type-C, 6W TDP Quiet Mini PC, WIFI5, BT 5.0 Office

BOSGAME Mini PC N95, Intel 12th Mini Computers| 16GB DDR4 RAM| 512GB M.2 2280 SSD| 4K 60HZ Triple Displays by Dual HDMI+Type-C, 6W TDP Quiet Mini PC, WIFI5, BT 5.0 Office

$239.99