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
Yes, the CPU column is irrelevant (always shows 0%) because in order to get a meaningful value cpu_percent method would need more time. I added it in order to emulate ps command, which also shows a CPU% column of 0%. It probably makes sense to remove it.
Hi,
When I use psutil.test() in a windows cmd :
python -c "import psutil; psutil.test()"
the cpu_percent is always equal to zero.
If a start python :
Then the cpu_percent values are right.
Python 2.7.10 / psutil version 5.1.3 / tested on Windows 10 and Windows 2008 R2 Standard
Thanks.
The text was updated successfully, but these errors were encountered: