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.
Comment #1
Posted on May 22, 2014 by Happy KangarooForget to append, OS is CensOS 5.4 64bit version
Comment #2
Posted on May 26, 2014 by Happy Monkeypsutil 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
Status: New
Labels:
Type-Defect
Priority-Medium