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

Provide virtualization-related CPU stats on Linux #361

Closed
giampaolo opened this issue May 23, 2014 · 4 comments
Closed

Provide virtualization-related CPU stats on Linux #361

giampaolo opened this issue May 23, 2014 · 4 comments

Comments

@giampaolo
Copy link
Owner

From g.rodola on March 25, 2013 13:54:49

As suggested here: 
https://groups.google.com/forum/?fromgroups#!topic/psutil/beLld4Mvzjs Currently 
on Linux psutil.cpu_times() is omitting 3 CPU stats available on modern Linux kernels:

- steal (Linux  >= 2.6.11): stolen time, which is the time spent in other 
operating systems when running in a virtualized environment 

- guest (Linux >= 2.6.24): the time spent running a virtual CPU for guest 
operating systems under the control of the Linux kernel.

- guest_nice (Linux >= 3.2.0): same as above but refers to 'niced' 
(prioritized) virtual CPU time


Other than the fact that they may be useful to some, it must also be considered 
that psutil.cpu_percent() is currently not taking them into account therefore 
the CPU percentage we get is not accurate.

Original issue: http://code.google.com/p/psutil/issues/detail?id=361

@giampaolo giampaolo self-assigned this May 23, 2014
@giampaolo
Copy link
Owner Author

From g.rodola on March 25, 2013 06:39:38

Fixed in revision 563562aba003 .

Status: FixedInSVN

@giampaolo
Copy link
Owner Author

From g.rodola on April 07, 2013 18:21:49

Status: FixedInHG

@giampaolo
Copy link
Owner Author

From g.rodola on April 11, 2013 02:17:40

Labels: -Milestone-0.6.2 Milestone-0.7.0

@giampaolo
Copy link
Owner Author

From g.rodola on April 12, 2013 11:21:27

Status: Fixed

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