Use Nethogs to monitor network traffic under Ubuntu

Source: Internet
Author: User

Nethogs is a small, free open source command-line tool used to count network bandwidth usage in real time by process or program.

For use similar to "repo tool", "Depot_tools" and other tools checkout source code is very useful, you can view the current download speed information, so you do not blindly wait.

Installation under Ubuntu system

sudo apt-get install Nethogs


How to use

Nethogs [-d] [-h] [-P] [-t] [-v] [device (s)]

    • THE-D switch delay for the refresh rate.

    • The-h switch display available commands usage.

    • The-p switch Sniff in promiscious mode (not recommended).

    • THE-T Switch TraceMode.

    • THE-V Switch Prints Version info.


Example

sudo nethogs eth0

sudo nethogs ppp0

650) this.width=650; "class=" AlignCenter full "title=" under Ubuntu use Nethogs to monitor network traffic-1 "src=" http://www.mr-wu.cn/wp-content /uploads/2014/10/1412835216_thumb.png "alt=" under Ubuntu using Nethogs to monitor network traffic-1 "align=" Middle "style=" border:0px;margin:0px -10px 5px;height:auto; "/>


original articles, reproduced please specify: reproduced from http://www.mr-wu.cn/Wuchuanbin blog

This article link address: use Nethogs to monitor network traffic under Ubuntu http://www.mr-wu.cn/ubuntu-nethogs/


Use Nethogs to monitor network traffic under Ubuntu

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.