How to Use Nmon to monitor Linux system performance

Source: Internet
Author: User

How to Use Nmon to monitor Linux system performance

Nmon (also known as Nigel's Monitor) is a very common system performance monitoring tool, developed by IBM engineer Nigel Griffin iths, applicable to AIX and Linux operating systems. This tool can directly display the resource utilization of the current operating system on the screen to help you identify system bottlenecks and assist in system tuning. Thanks to its fame, we have made a simple recommendation in the article "Recommended Linux utility", which is a great tool.

With Nmon, you can easily monitor system CPU, memory, network, disk, file system, NFS, Top processes, and other information.

Install Nmon

By default, Nmon is already in the Ubuntu source. You can directly install it using apt-get:

Sudo apt-get install nmon

Use Nmon to monitor Linux system performance

Once the installation is complete, run the nmon command on the terminal to start it.

After the Nmon command is executed, you can see the following output:

As you can see, the Nmon command line tool is a user interaction application. You can easily use keyboard shortcuts to view statistics.

  • Q: Stop and exit Nmon.
  • H: View help information
  • C: View CPU statistics
  • M: view memory statistics
  • D: view disk statistics
  • K: View kernel statistics
  • N: View network statistics
  • N: View NFS statistics
  • J: view the statistics of the file system
  • T: view the Top process Statistics
  • V: View virtual memory statistics
  • V: Detailed output mode

View CPU statistics

If you want to view CPU performance information, press the c key:

View Top process Statistics

To view the Top process statistics, press the t key:

View network statistics

To view network statistics, press the n key:

Disk I/O diagram

You can use the d key to view disk statistics:

View kernel statistics

To view the kernel statistics, press the k key:

Obtain system information

If you want to view the Linux system information, such as the system architecture, operating system version, or Linux version, you can use the r key, which is very useful to the system administrator.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.