New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cpu_percent return a bunch o 0s #1378
Comments
Mmmm I cannot reproduce that. |
This is happening in python3.6 on CentOS 6.9 for me as well. The same code above reproduces it on my machine. Edit: As a note, I installed from source instead of using a binary wheel. |
Try adding |
I'm gonna close this out as outdated. If the problem still occurs please paste the output below and we can reopen
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm running a python script in Red Hat 7.3.1-5 to log the Memory and CPU usage for each second.
But it returns a lot of 0s for the cpu_percent.
Is that a expected behavior?
Thanks in advance.
The text was updated successfully, but these errors were encountered: