You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use nethogs to measure the bandwidth in a distributed system where I have a cluster of multi nodes working together to execute a task.
What I notice at the end of the execution is that there is a noticeable and big difference between values measured in nethogs and values measure in default System monitor for all nodes, the values below measure all the bandwidth used by all processes on a single node (there were only 3 processes consume the bandwidth):
Bandwidth received is 297 GB in nethogs vs 366 GB in System monitor for all processes
Bandwidth sent is 344 GB in nethogs vs 365 GB in System monitor for all processes
Some nodes have measures that are almost identical in System monitr and nethogs in sent bandwidth.
What causes this difference? Is it better to rely on the system monitor? I suppose System monitor seems to be much more accurate for the work.
OS: Centos 7
The text was updated successfully, but these errors were encountered:
Is there any UDP traffic? Nethogs only tracks TCP traffic (#62).
Is it better to rely on the system monitor?
It depends what you want. Nethogs is unique in that it breaks down the traffic per process. If you don't need that, I would recommend using a different tool.
No, the process depends completely on TCP for transferring data. What makes that strange is the big difference between the system monitor and nethogs which is in GigaBytes as mentioned above, even if I sum the traffic of all processes and compare it to the value in the monitor there is a significant variance!
My purpose is to measure the traffic for a specific process and nethogs offers this as described.
I use
nethogs
to measure the bandwidth in a distributed system where I have a cluster of multi nodes working together to execute a task.What I notice at the end of the execution is that there is a noticeable and big difference between values measured in
nethogs
and values measure in defaultSystem monitor
for all nodes, the values below measure all the bandwidth used by all processes on a single node (there were only 3 processes consume the bandwidth):nethogs
vs 366 GB inSystem monitor
for all processesnethogs
vs 365 GB inSystem monitor
for all processesSome nodes have measures that are almost identical in
System monitr
andnethogs
in sent bandwidth.What causes this difference? Is it better to rely on the system monitor? I suppose
System monitor
seems to be much more accurate for the work.The text was updated successfully, but these errors were encountered: