Nmon is a monitoring and analysis tool widely used in Linux operating systems. It can capture the usage of system resources in real time during system running and output the results to a file. Then the nMON_Analyzer tool generates data files and graphical results.

Download and Install

apt install nmon

Nmon usage

nmon -f -F demo.nmon -s 1 -c 10 -t
Copy the code
  • -f: indicates the output file. The file name is the default name
  • -f: user-defined output file name
  • -s: data collection frequency, that is, the frequency of saving data
  • -c: number of collection times
  • -t: displays the process data that consumes the most resources

nmon_anylyzer

Download: https://www.ibm.com/developerworks/community/wikis/home?lang=en#! /wiki/Power+Systems/page/nmon_analyser emphasis sheet:

  • SYS_SUMM: system summary page, including CPU usage changes and disk I/O changes
  • AAA: Some information about the operating system and nmon itself
  • CPUnn: displays the CPU usage during execution
  • CPU_ALL: displays the average CPU usage of all cpus
  • CPU_SUMM: indicates the CPU usage during execution
  • DGWRITE: indicates the average write status of each disk
  • DGXFER: I/O operations per second for each disk group
  • MEM: Main information about memory, such as usage and free memory size
  • NET: Shows the data transfer rate of each network adapter in the system (kilobytes, seconds)