[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bandwidth measurement by process



Hi,

I'm looking for a tool that will measure bandwidth used by a specific
process. I'd like some sort of utility or wrapper that will answer
questions like "How much data did my network backup job push over the
wire?"

There are many tools that measure by interface / TCP port, etc, but the
only thing I've been able to find that isolates traffic on a per
process basis is nethogs.  I assume that this is tricky, because TCP /
IP traffic doesn't really have the concept of associated processes, and
one needs some method of correlating traffic with processes (nethogs
apparently does this by analyzing various files under /proc).

Are there any other tools out there?  Nethogs is a TUI (ncurses) app
that prints a realtime tally of traffic for every process on the system,
and I'd really like a simple CLI utility that will focus on one specific
process and let me know how much traffic it's generating. I've searched
quite a bit, but found nothing besides nethogs.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


Reply to: