Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of installing and using system performance Monitoring Software Nmon in Linux

2025-05-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "how to install and use the system performance monitoring software Nmon in Linux". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Nmon (named after Nigel monitor) is a computer performance system monitoring tool developed by Nigel Griffiths, an employee of IBM, for AIX and Linux systems. Nmon can display operating system statistics on the screen or store them in a data file to help understand the use of computer resources, orientation and system bottlenecks. This system benchmark tool can get a large amount of important performance data with only one command. Using Nmon, you can easily monitor the system's CPU, memory, network, hard disk, file system, NFS, expensive processes, resources, and micro-partition information of the IBM Power system.

Nmon installation

Nmon exists by default in Ubuntu's repository. You can install Nmon with the following command:

The code is as follows:

Sudo apt-get install nmon

How to use Nmon to monitor the performance of Linux

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

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 runs completely interactively, and you can use keyboard shortcuts to easily view the corresponding statistics. You can use the following nmon shortcuts 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

Audit CPU processor

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

Verification of high-consumption process statistics

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

Check network statistics

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

Hard disk IPUBO chart

Use the d key to get information about the hard drive, and you will see the following output:

Check kernel information

One of the most important shortcuts for Nmon is the k key, which is used to display summary information about the kernel of the system. After pressing the k key, you will see the following output:

Get system information

A very useful shortcut key for every system administrator is the r key, which can be used to display information about different resources such as the computer's system structure, operating system version number, and CPU. After pressing the r key, you will see the following output:

This is the end of the content of "how to install and use the system performance monitoring software Nmon in Linux". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 214

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report