Use Nmon to monitor Linux system performance, nmonlinux

Source: Internet
Author: User

Use Nmon to monitor Linux system performance, nmonlinux

Nmon is a computer performance system monitoring tool developed for AIX and Linux systems by IBM employee Nigel Griffin iths. Nmon can display operating system statistics on the screen or store them in a data file to help you understand the usage of computer resources, adjust the direction and system bottlenecks. This system Benchmark Testing Tool only needs to use one command to obtain a large amount of important performance data. With Nmon, you can easily monitor information about the system's CPU, memory, network, hard disk, file system, NFS, high-consumption processes, resources, and differential zones of IBM Power systems.

 

Nmon Installation

Nmon is stored in the Ubuntu repository by default. Run the following command to install Nmon:

sudo apt-get install nmon

 

How to Use Nmon to monitor Linux Performance

After the installation is complete, enternmonCommand to start Nmon

nmon

You will see the following output:

Nmon-output

From the above, we can see that the nmon command line tool is completely interactive, and you can use the shortcut key to easily view the corresponding statistics. You can use the following nmon shortcut key to display different system statistics:

  • q: Stop and exit Nmon

  • h: View help

  • c: View CPU statistics

  • m: View memory statistics

  • d: View hard disk statistics

  • k: View kernel statistics

  • n: View network statistics

  • N: View NFS statistics

  • j: View File System statistics

  • t: View high-consumption processes

  • V: View virtual memory statistics

  • v: Verbose mode

 

Check CPU Processor

If you want to collect statistics about CPU performance, you should presscAnd then you will see the following output:

Nmon_cpu_output

 

Check high-consumption process Statistics

If you want to collect statistics of high-consumption processes that are running in the system, presstAnd then you will see the following output:

Nmon_process_output

 

Check Network statistics

To collect network statistics for Linux, pressnKey, you will see the following output:

N_network_output

 

Hard Disk I/O chart

UsedKey to obtain information about the hard disk, you will see the following output:

Nmon_disk_output

 

Check kernel information

An important shortcut for Nmon iskKey, used to display summary information about the system kernel. PresskThe following output is displayed:

Nmon_kernel_output

 

Obtain system information

A very useful shortcut for every system administrator isrKey, which can be used to display information about different resources such as the system structure, operating system version number, and CPU of a computer. PressrThe following output is displayed:

Nmon_system_output

 

Summary

There are also many other tools to do the same work as Nmon, but Nmon is very friendly for a new Linux user. If you have any questions, comment.

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.