kiranvizru / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

bug in net_io_counters #436

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
psutil-1.0.1

net_io_counters returns incorrect dropin value

in _pslinux.py (line 356)

 355         errin = int(fields[2])
 356         dropin = int(fields[2]) <------- needs to be int(fields[3])
 357         bytes_sent = int(fields[8])

Thank you.

Original issue reported on code.google.com by ust...@gmail.com on 26 Sep 2013 at 8:03

GoogleCodeExporter commented 9 years ago
Ouch! O_O
What an outstanding error!
Fixed in 99ab87564032. Thanks.

Original comment by g.rodola on 26 Sep 2013 at 9:47

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 28 Sep 2013 at 10:06

GoogleCodeExporter commented 9 years ago
Closing out as fixed. Release 1.1.0 is now available for download.

Original comment by g.rodola on 28 Sep 2013 at 5:32