In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to install and use NetHogs under Linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
NetHogs is a small net top tool that groups bandwidth by process rather than slowing down each protocol or subnet as most tools do. NetHogs does not need to rely on loading a particular kernel module. If there is a network congestion, you can start NetHogs and immediately see which PID caused the situation. This makes it easy to find out which program ran away and suddenly took up your bandwidth.
Install NetHogs under Ubuntu, install NetHogs under sudo apt-get install nethogsReadHat [root@localhost tmp] # rpm-ivh nethogs-0.8.0-1.el6.x86_64.rpmwarning: nethogs-0.8.0-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEYPreparing... # 1:nethogs # # NetHogs provides interactive control instructions: M: Cycle between display modes (kb/s, kb) B, mb) switch network speed display unit r: Sort by received. Sort s: Sort by sent by received traffic. Sort Q: Quit and return to the shell prompt by sending traffic. Exit the NetHogs command tool NetHogs command line parameter commonly used parameter:-d delay for refresh rate. Data refresh time such as nethogs-d 1 is refreshed once per second-h display available commands usage. Show named help, usage information-p sniff in promiscious mode (not recommended).-t tracemode.-V prints Version info. Demo example: refresh data once in 5 seconds nethogs-d "monitor Nic eth0 data nethogs eth0# simultaneously monitor eth0 and eth2 interface nethogs eth0 eth2# write monitoring log to log file nethogs > > test.log
The above is all the contents of the article "how to install and use NetHogs under Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.