Nethogs and nload check your inet traffic in real time.

Configuration wizards, scanners, remote desktop, etc.
Post Reply
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Nethogs and nload check your inet traffic in real time.

#1 Post by musher0 »

Hello all.

When you need to monitor your Internet load, netstat (please see
attached screen capture below) is a staple of Puppies, but nethogs

Image

and nload,

Image

although mentioned in the forum here and there, do not come in Puppies
by default.

Those two utilities are quite handy.

From the nethogs manual:
NetHogs is a small 'net top' tool. Instead of breaking the traffic down per
protocol or per subnet, like most such tools do, it groups bandwidth by
process - and does not rely on a special kernel module to be loaded. So if
there's suddenly a lot of network traffic, you can fire up NetHogs and
immediately see which PID is causing this, and if it's some kind of
spinning process, kill it.
(Underlining by me.)

From the nload manual:
nload is a console application which monitors network traffic and
bandwidth usage in real time.

It visualizes the in- and outgoing traffic using two graphs and provides
additional info like the total amount of transfered data and min/max
network usage.
So there you go! Both were compiled for Puppy on a Puduan-6.0.
Any feedback welcome.

Another utility that you might want to consider for this purpose is
lsof with the -i -r 2 parameters:

Code: Select all

lsof -i -r 2
although lsof is much broader in scope, it can do many other things.

Those four utilities: netstat, nethogs, nload and lsof -i
should help you make sense of incoming and outgoing Internet traffic.

BFN.
Attachments
netstat_2016-11-02(1).jpg
Netstat example. Netstat is included in many Puppies.
(39.84 KiB) Downloaded 311 times
nethogs-20161101.pet
(26.66 KiB) Downloaded 242 times
nload-0.7.4.pet
(62.92 KiB) Downloaded 241 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#2 Post by drunkjedi »

nethogs is really useful to see if any pid you didn't authorized is using network.

Good tool to keep an eye on your connection.

Post Reply