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

Implement process CPU percent usage #34

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

Implement process CPU percent usage #34

giampaolo opened this issue May 23, 2014 · 7 comments

Comments

@giampaolo
Copy link
Owner

From billiej...@gmail.com on March 09, 2009 18:29:35

A method to calculate process CPU utilization as a percentage would be needed.

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

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

From billiej...@gmail.com on March 09, 2009 10:37:47

Implemented for Windows as r230 , for FreeBSD as r238 and for OS X as r239 .
On Linux it was already implemented as r225 .
Leaving this open as long as we figure out if we can set up a minimal test case at least.

@giampaolo
Copy link
Owner Author

From billiej...@gmail.com on March 09, 2009 11:42:16

Status: Started

@giampaolo
Copy link
Owner Author

From billiej...@gmail.com on March 09, 2009 18:56:47

Issue 35 's get_num_cpus() is now implemented on all platform.
Assigning this to Jay to modify get_cpu_percent() to work on multiple cores.

Owner: jloden

@giampaolo
Copy link
Owner Author

From jlo...@gmail.com on March 12, 2009 11:30:53

Actually you can do this if you want, all we have to do is make sure the percentage
is divided by # of CPUs to provide an "overall" CPU % value as a float.

@giampaolo
Copy link
Owner Author

From billiej...@gmail.com on March 12, 2009 12:46:50

Fixed as r248 .

Status: Verified

@giampaolo
Copy link
Owner Author

From billiej...@gmail.com on March 17, 2009 08:31:20

Status: Fixed

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 03:46:53

Updated csets after the SVN -> Mercurial migration: r225 == revision e7ec84bc5f8e r230 == revision 96957c8b5214 r248 == revision 7ce5924fc7ad

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