You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Make a call to network_io_counters(True)
2. Observe that the pernic option is not honoured
What is the expected output?
Even though the API is deprecated, pernic should work as intended.
What do you see instead?
Results are given for all nics combined.
What version of psutil are you using? What Python version?
psutil 1.0.0, python 2.7
On what operating system? Is it 32bit or 64bit version?
64-bit Debian 7, psutil installed from PyPi
Please provide any additional information below.
https://code.google.com/p/psutil/source/diff?spec=svn2a2d190434fcee74cdaf2288d5b905f092902af4&r=a025c656b0bfefdca7fad9e0c542a911e97d8cea&format=side&path=/psutil/__init__.py
is the offending diff.
When the network_io_counters alias was added, the pernic option was not passed
to net_io_counters. This is a major API breaking change for what should have
been a fairly seamless API cleanup.
From [email protected] on July 12, 2013 16:26:28
Original issue: http://code.google.com/p/psutil/issues/detail?id=405
The text was updated successfully, but these errors were encountered: