How to Use Nmon to monitor Linux system performance

Source: Internet
Author: User
Nmon (also known as Nigel & rsquo; sMonitor) is a very common system performance monitoring tool developed by IBM engineer nielgriiths and suitable for 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

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, you can executeNmonCommand 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, you can directly PressCKey:

View Top process Statistics

If you want to view the Top process statistics, you can directly PressTKey:

View network statistics

If you want to view the network statistics, you can directly PressNKey:

Disk I/O diagram

UseDKey to view disk statistics:

View kernel statistics

If you want to view the kernel statistics, you can directly PressKKey:

Obtain system information

You can useRKey, which is very useful to the system administrator.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-12/126387.htm

Related Article

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.