Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17793

Per process network usage ?

$
0
0

Hi reddit,

I'm looking for a way to get the amount of data transferred by a specific process. The only thing I've found that comes close to this is nethogs, but it doesn't seem to be very accurate, and it's "top-like" (which is not very usable in scripts).

Ideally, I'd like something like

~# magictool -p PID RX bytes: xxxx TX bytes: yyyy 

Does that exists ? Or how would one write such a tool ?

Thanks for any input.

submitted by johncharles
[link] [4 comments]

Viewing all articles
Browse latest Browse all 17793

Trending Articles