In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article is about how to use Nmon performance monitoring tool in Linux. I think it is very practical, so I share it with you. I hope you can get something after reading this article. Let's take a look at it.
I. install the software
# create the directory structure of the nmon tool
[root@nishuangyi /] # mkdir / usr/tools/nmon
Upload installation package
# upload the downloaded package to / usr/tools/nmon through the rz command
[root@nishuangyi /] # cd / usr/tools/nmon/
[root@nishuangyi nmon] # rz
Rz waiting to receive.
Upload Zmodem
Nmon16e_mpginc.tar.gz (3.30 MB, 0:10 min = 337.6 KB/sec)
Extract the installation package
# decompress the downloaded nmon package
[root@nishuangyi nmon] # ll
Total 3376
-rw- 1 root root 3456878 Sep 8 23:41nmon16e_mpginc.tar.gz
[root@nishuangyi nmon] # tar zxvf nmon16e_mpginc.tar.gz
Delete installation package
# remove the installation package through the rm-f command
[root@nishuangyi nmon] # rm-f nmon16e_mpginc.tar.gz
Reading and writing empowerment
# configure read, writeable and executable permissions for nmon
[root@nishuangyi nmon] # chmod 777 nmon_x86_64_centos7
Rename
# rename
[root@nishuangyi nmon] # mv nmon_x86_64_centos7 nmon
Start nmon
# execute script to start nmon
[root@nishuangyi nmon] #. / nmon
Configure environment variables
# configure environment variables to start nmon in any file
[root@nishuangyi ~] # vi / etc/profile # enter I and do not add the following two lines to the file:
PATH=$PATH:/usr/tools/nmon
Export PATH
# after entering I, the following two lines are not added to the file:
PATH=$PATH:/usr/tools/nmon
Export PATH
# enter wq! Save exit, source / etc/profile effective configuration
[root@nishuangyi ~] # source / etc/profile
# check whether the environment variable is configured successfully
[root@nishuangyi ~] # nmon
Second, real-time monitoring
Commonly used quick operation instructions
C
M
N
D
T
H
Q
# c = > CPU: display CPU utilization data
# m = > Memory: display memory data
# n = > Network: displays network information
# d = > Disk: display disk information
# t = > Top Processes: process information of the system
# h = > Help: view help information
# Q = > Quit: exit the Nmon interface
The above is how to use Nmon performance monitoring tools in Linux. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.