-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Win7] net_io_counters bytes_sent and bytes_recv are always 0 #806
Comments
I won't have time to look into this anytime soon but it looks like a C typing issue of some sort. |
I have the same problem. I'm working at Win7 64 and I have some loopback network interfaces and would like to monitoring the packets of those, and I'm always getting 0. Would be very helpful to see the traffic of those network interfaces. psutil 5.2.0 |
Are the values of all network interfaces set to 0? I also have different (virtual) NICs returning 0. Please paste the output. |
output from psutil.net_io_counters(pernic=True) {'isatap.{A4BC3AC6-9BD2-4035-949A-D3B0516852E9}':snetio(bytes_sent=0L, bytes_recv=0L, packets_sent=0L, packets_recv=0L, errin=0L, errout=0L, dropin=0L, dropout=0L), Only the connected physical network interface is getting traffic data count. I'm sending and receiving data at the loopbacks 1 and 2. |
Hi:
I got one issue on Win7.
My psutil version is 4.1.0.
I always got bytes_sent and bytes_recv with zero value.
How can I transform from packets_sent to bytes_sent?
{'isatap.{A9542735-8D16-4156-BFDF-531BC52EEF9B}': snetio(bytes_sent=0, bytes_rec
v=0, packets_sent=0, packets_recv=0, errin=0, errout=0, dropin=0, dropout=0), '
xb0\xcf\xb0\xec\xb3s\xbdu': snetio(bytes_sent=0, bytes_recv=0, packets_sent=1515
3, packets_recv=32484, errin=0, errout=0, dropin=0, dropout=0), 'Loopback Pseudo
-Interface 1': snetio(bytes_sent=0, bytes_recv=0, packets_sent=0, packets_recv=0
, errin=0, errout=0, dropin=0, dropout=0)}
The text was updated successfully, but these errors were encountered: