Installing in Linux is using System performance monitoring software Nmon

Source: Internet
Author: User
Tags file system

Nmon (named for the Nigel Monitor) is a computer performance system monitoring tool developed by IBM employees Nigel Griffiths for AIX and Linux systems. Nmon can display the operating system statistics on the screen or stored in a data file to help understand the use of computer resources, adjust the direction and system bottlenecks. This system benchmarking tool can get a lot of important performance data with just one command. With Nmon, you can easily monitor the system's CPU, memory, network, hard disk, file system, NFS, high consumption process, resources, and the differential areas of the IBM power system.

Nmon Installation

Nmon is present in the Ubuntu warehouse by default. You can install Nmon using the following command:

The code is as follows:

sudo apt-get install Nmon

How to use Nmon to monitor Linux performance

After the installation is complete, start the Nmon by entering the Nmon command at the terminal.

Copy Code

The code is as follows:

Nmon

You will see the following output:

From the screenshot above, you can see that the Nmon command-line tool is completely interactive, and you can use shortcut keys to easily see the corresponding statistics. You can use the following Nmon shortcut keys 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 the high consumption process

V: View virtual Memory statistics

V: Detailed mode

Verifying CPU Processors

If you want to collect statistics about CPU performance, you should press the C key on your keyboard and you will see the following output:

Verification of statistical data on the high consumption process

If you want to collect statistics on the high consumption process that the system is running, press the T key on the keyboard, and you will see the following output:

Verification of network statistical data

If you want to collect network statistics for your Linux system, press N, and you will see the following output:

Hard disk I/O chart

Using the D key to get the hard drive-related information, you will see the following output:

Verifying kernel information

Nmon A very important shortcut key is the K key, which is used to display the system kernel-related profile information. When you press the K key, you will see the following output:

Get System Information

A very useful shortcut key for each system administrator is the R key, which can be used to display information about different resources, such as the system structure of the computer, the operating system version number, and the CPU. When you press the R key, you will see the following output:

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.