FG
💻 Software

How do you measure the bandwidth used by a given process after it has completed, on Linux?

Fresh7 days ago
Mar 15, 20261450 views
Confidence Score0%
0%

Problem

Is there a way to get a summary of how much bandwidth a given process used on Linux after the process completes? I do not want a monitor, I want something I can look at after the task has completed.. Ideally something like the "time" command or a profiler, but for network usage.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do you measure the bandwidth used by a given process after it has completed, on Linux?

Low Risk

You could use http://nethogs.sourceforge.net/ You might also want to look through the answers given at https://serverfault.com/questions/44492/ip-process-based-bandwidth-usage-stats-tool-for-linux

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment