this post was submitted on 17 Dec 2023
7 points (88.9% liked)

Networking

442 readers
4 users here now

This is a community dedicated to all types of computer networking (physical/virtual/cloud/etc.)

Computers use common communication protocols over digital interconnections to communicate with each other. These interconnections are made up of telecommunication network technologies based on physically wired, optical, and wireless radio-frequency methods that may be arranged in a variety of network topologies.

Helpful Links:

Rules:

founded 1 year ago
MODERATORS
 

cross-posted from: https://slrpnk.net/post/4975009

Are there any Debian apps that will track bandwidth consumption on a per-app basis, and ideally website-specific when a browser with sandboxing has multiple tabs?

These tools are vaguely described as being able to monitor network traffic:

iftop, nload, nethogs, vnstat, bmon, iperf, netperf, iptraf, cbm, zabbix, nagios, cacti, darkstat, sarg, monitorx, etherape

I’ve tried iftop, nload, vnstat, & bmon. Some of those are just showing realtime stats (bytes per second) and some are per net interface, not per app. I need to know the total bandwidth used on a per-process basis so if a website is streaming or buffering something heavy like video I can react. Since browsers tend to have sandboxing, i think there is a separate process per website. So if a website is a pig I need stats on it.

Ultimately I’m on a limited connection and it’s a mystery what is hogging my bandwidth allowance. I prefer light non-graphical apps but I guess I can’t be too fussy at this point.

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 10 months ago (1 children)

ntop should do it. But Chrome has a built-in process manager with a network column. Firefox does too, but does not have a network column.

Personally I just use a Chrome extension that turns off autoplaying videos: https://chromewebstore.google.com/detail/disable-html5-autoplay/efdhoaajjjgckpbkoglidkeendpkolai

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago)

ntop does not seem to be in the Debian repos, but sntop is. Is that the same thing? I installed sntop and got strange output.. some reference to Yahoo which I would never use.

The ~~Chrome~~ (Firefox) task manager shows memory consumption and energy, but not exactly network activity. Is the energy column a good measure of network consumption? (edit: sorry, I misread your text at first)

I just use a Chrome extension that turns off autoplaying videos: https://chromewebstore.google.com/detail/disable-html5-autoplay/efdhoaajjjgckpbkoglidkeendpkolai

Thanks for the tip. I added that to this post. But note that that extension does not stop buffering, thus it’s useless for reducing bandwidth.