Closed GoogleCodeExporter closed 8 years ago
Are you talking about process IO counters or system IO counters?
> read_count=X,write_count=Y,read_bytes=Z,write_bytes=B
> if X > 0, Z should be greater than 0
That's not necessarily true. A process might be performing read() calls not
returning any data.
Moreover, the 0 value you see comes directly from the OS, hence even if it's
not correct (which I doubt) psutil can't do anything about that.
Please try to run the following code:
import psutil
for p in psutil.process_iter():
try:
print p.get_io_counters()
except psutil.Error:
pass
If read_count of *any* of the enlisted processes is != 0 then it means psutil
is correctly fetching that information.
Original comment by g.rodola
on 19 Sep 2012 at 11:55
Closing this out for lack of response.
AFAICT there should be no issue here though.
Original comment by g.rodola
on 12 Dec 2012 at 12:34
[deleted comment]
Updated csets after the SVN -> Mercurial migration:
r266 == revision f910f2f333cc
Original comment by g.rodola
on 2 Mar 2013 at 12:13
Original issue reported on code.google.com by
mahantes...@gmail.com
on 19 Sep 2012 at 8:22