Linux under the program verified when the traffic network traffic

Source: Internet
Author: User

actually see the download speed up to several m/s, but in fact there is no bandwidth-hogging process.

View the network traffic consumed by each program, but the system Monitor that comes with it can only view the global traffic, not the specific program ...

Key Words:network traffic, process specific, nethogs

Tool: Nethogs (to run with sudo)

Description:nethogs is a small "net top" tool. /* Tools like top, update in real time */
:
: Instead of breaking the traffic down per protocol or per subnet, like
: Most such tools does, it groups bandwidth by process and does not rely/* process specfific */
: On a special kernel module to be loaded.
:
: So if there's suddenly a lot of the network traffic, you can fire up/* used to discover the bandwidth consuming process, kill it */
: Nethogs and immediately see which PID was causing this, and if it ' s
: Some kind of spinning process, kill it.

$ sudo DNF install Nethogs-y

(, )

Interactive commands for Nethogs

M: Toggle unit kb/sec, KB, B, MB

R: Sort receive by received

S: Sort send by sending

Linux under the program verified when the traffic network traffic

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.