Skip to content
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 utilization is always 0 (zero) in Ubuntu 15.10 #15

Closed
danielhb opened this issue Dec 14, 2015 · 2 comments
Closed

CPU utilization is always 0 (zero) in Ubuntu 15.10 #15

danielhb opened this issue Dec 14, 2015 · 2 comments

Comments

@danielhb
Copy link
Contributor

This is the CPU utilization in a Fedora 23 RPM install:

image

And this is the same view in a Ubuntu 15.10 .deb install:

image

The CPU utilization didn't change from the 0% value at any times.

@danielhb danielhb added the bug label Dec 14, 2015
@danielhb danielhb added this to the Ginger Base 2.0 milestone Dec 14, 2015
@danielhb danielhb self-assigned this Dec 14, 2015
@danielhb
Copy link
Contributor Author

This is an issue with the psutil.cpu_percent() executing in a Ubuntu 15.10 VM, which is always returning zero.

It is peculiar because the same command in a Fedora 23 VM works fine. I've asked @alinefm to check in her Ubuntu15.10 host and it works there. The conclusion is that there is something funny going on with this package and my specific VM.

This is worth investigating (it should work!) but it is not a priority. I'll 'demote' it to Backlog

@danielhb danielhb modified the milestones: Ginger Base 2.0, Backlog Dec 14, 2015
@danielhb danielhb removed their assignment Dec 14, 2015
@danielhb
Copy link
Contributor Author

I'll close the bug because I've just saw the CPU utilization going up and down in the same Ubuntu VM I've seeing it steady at 0%. I think a package update solved the issue:

image

The screenshot is showing 0% (the irony!) but we can see by the chart that the CPU % was changing as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant