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

What are the advanced ways to use nmon under Linux

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly introduces the advanced use of nmon under Linux, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

Nmon is a monitoring and analysis tool widely used in AIX and various Linux operating systems. Compared with other system resource monitoring tools, the information recorded by nmon is more comprehensive. It can capture the use of system resources in real time during the operation of the system, and can output results to files, and then generate data files and graphical results through nmon_analyzer tools.

Nmon installation

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

How does sudo apt-get install nmon use Nmon to monitor the performance of Linux

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

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:

Parameter action Q stops and exits Nmonh view help c view CPU statistics m view memory statistics k view kernel statistics n view network statistics N view NFS statistics j view file system statistics t view high consumption process V view virtual memory statistics v detailed mode

Show details

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:

Thank you for reading this article carefully. I hope the article "what are the advanced uses of nmon under Linux" shared by the editor will be helpful to you. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

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: 0

*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

Development

Wechat

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

12
Report