jucapj / psutil

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

Enter one-line summary #507

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
import psutil
psutil.disk_io_counters()

What is the expected output?
Something like:
sdiskio(read_count=8141, write_count=2431, read_bytes=290203, 
write_bytes=537676, read_time=5868, write_time=94922)

What do you see instead?
>>> psutil.disk_io_counters()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/python/lib/python2.6/site-packages/psutil-2.1.1-py2.6-linux-x86_64.egg/psutil/__init__.py", line 1724, in disk_io_counters
  File "/opt/python/lib/python2.6/site-packages/psutil-2.1.1-py2.6-linux-x86_64.egg/psutil/_pslinux.py", line 645, in disk_io_counters
ValueError: need more than 7 values to unpack

What version of psutil are you using? What Python version?
Python-2.6.6
psutil-2.1.1

On what operating system? Is it 32bit or 64bit version?

Please provide any additional information below.

Original issue reported on code.google.com by caca...@gmail.com on 22 May 2014 at 12:13

GoogleCodeExporter commented 9 years ago
Forget to append, OS is CensOS 5.4 64bit version

Original comment by caca...@gmail.com on 22 May 2014 at 12:14

GoogleCodeExporter commented 9 years ago
psutil has been migrated from Google Code to Github (see: 
http://grodola.blogspot.com/2014/05/goodbye-google-code-im-moving-to-github.html
).
Please do NOT reply here but use this instead:
https://github.com/giampaolo/psutil/issues/507

Original comment by g.rodola on 26 May 2014 at 3:03