Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] net_io_counters bytes_recv difference between psutil and Activity Monitor #2201

Open
anonymous-user-3 opened this issue Feb 13, 2023 · 1 comment

Comments

@anonymous-user-3
Copy link

anonymous-user-3 commented Feb 13, 2023

Summary

  • OS: macOS 13.2
  • Architecture: 64bit
  • Psutil version: 5.9.4
  • Python version: 3.10.9
  • Type:

During some tests, I have noticed a huge difference between psutil.net_io_counters bytes_recv and what was shown by Activity Monitor (the other values were the same). The value of psutil was more or less 10 times lower than the one given by Activity Monitor.

Example of output:
snetio(bytes_sent=4703920128, bytes_recv=6829499392, packets_sent=19674272, packets_recv=57488056, errin=0, errout=2776, dropin=266376734946470, dropout=0)

Data sent shown by Activity Monitor seems correct : 4.70GB
But data received shown by Activity Monitor at the same moment is: 66.96GB

@WCHAOc
Copy link

WCHAOc commented Nov 1, 2023

meto....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants