What steps will reproduce the problem?
1. Have server with no space after interface name in /proc/net/dev output
2. Run get_io_counters(pernic = True)
3. Output will have nic names like eth0:4046496815 and values will be off
What version of psutil are you using? What Python version?
Python 2.7, psutil 0.4.1
On what operating system? Is it 32bit or 64bit version?
Debian 6.0.4, 64bit
Example /proc/net/dev output:
xeross@content:~$ cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 9477513 53050 0 0 0 0 0 0 9477513 53050 0 0 0 0 0 0
eth0:4046496815 27661328 0 0 0 0 0 0 61800195044 32419766 0 0 0 0 0 0
Original issue reported on code.google.com by xer...@theelitist.net on 6 May 2012 at 3:01
Original issue reported on code.google.com by
xer...@theelitist.net
on 6 May 2012 at 3:01