Keeping Tabs on Your Network Traffic | Linux Today

Keeping Tabs on Your Network Traffic

Written By
Web Webster
Web Webster
Dec 2, 2008

“Unlike most bandwidth monitoring tools, which display network
usage per IP address or per protocol, NetHogs monitors the network
and presents bandwidth usage per application. Thus you can see how
much bandwidth the RSS aggregator, browser, software updater, and
even IRC and IM clients are using.

“NetHogs is available through the software repositories for most
distributions, or you can download the compressed tarball and
install from source. When it’s installed, open a terminal, switch
to the root user, and type nethogs. You should see each application
name and its PID along with how much data it has sent and received,
similar the output of the top command. The information is updated
in real time so you don’t have to relaunch nethogs every time you
launch a new application.

“By default the refresh rate is 1 second, but you can change it
anything you like with the -d command option. Also by default, the
transfer is shown in KBps (kilobytes per second) but this too can
be changed. While nethogs is running, press the m key to cycle
through the available options for displaying the data transfer. The
options are KBps, Bps, and MBps.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.