This Howtos posted under: Articles, IT-Tips, Linux | Total Visitors Till Now: 3,818

How To Monitor Bandwidth Usage Per Application Process and Thread

Typically, a linux bandwidth monitoring software measures and graphs internet bandwidth consumptions. These bandwidth consumptions are then grouped and classified to different types of usage views. Usage views of bandwidth graphs are then presented on a wide variety of presentation types, depending on bandwidth monitoring features. These can be per hosts, IP address, subnet network, protocols and IP services and the list goes on.

Introducing NetHogs

Nethogs does the same job of monitoring internet bandwidth consumption. Instead of grouping the bandwidth usage by protocols or network block, nethogs groups the usage per software process, or process threads. Another good things about nethogs is that it does not need any special kernel modules to be loaded before it can do its functions.

Now, here’s a quick post on how to monitor internet bandwidth usage based on application process.

Monitor Bandwidth Usage of Software by Process

NetHog Installation

# yum -y install nethogs

So, in order to identify which process ID (PIDS) that causes internet latency to your internet connection, you can fireup nethog to monitor you internet usage by process ID and immediately identify which process thread is taking too much internet consumption and bursting out too much internet traffic with your internet connection.

Nethogs presents internet bandwidth usage much like a top or htop in terminal mode.

# nethogs

 

 

Coolsearchinfo - A free Social Bookmarking Site

Liked this article? To continue getting our latest free Howtos and Tutorials,
you can also grab the RSS feed or Subscribe to Techgurulive by Email

Not Getting



Related posts
  • How to findout the running process in Mysql and Kill The process
    How to findout the running process in Mysql and Kill The process. You can use show processlist command to find out the running process in Mysql Server.Use the kill command...
  • How to view the running process of a MySQL Server
    To view thw running process of Mysql server is very simple. Just login to the console of Mysql and type show processlist; # mysql -u root -p Enter password: Welcome...