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
Proposal
A function similar to psutil.cpu_percent() but which provides utilization
percentages for each specific CPU time (user, system, idle, etc.), as per:
https://groups.google.com/forum/?fromgroups=#!topic/psutil/3u9Ylt-zHMA
On what platforms would this be available?
All
Proposed API
synopsis: cpu_times_percent(interval=0.1, percpu=False)
>>> import psutil
>>> psutil.cpu_times_percent()
cpupercent(user=4.8, nice=0.0, system=4.8, idle=90.5, iowait=0.0, irq=0.0,
softirq=0.0, steal=0.0, guest=0.0, guest_nice=0.0)
'interval' and 'percpu' arguments have the same meaning as in
psutil.cpu_percent()
From g.rodola on April 07, 2013 23:40:35
Original issue: http://code.google.com/p/psutil/issues/detail?id=362
The text was updated successfully, but these errors were encountered: