summaryrefslogtreecommitdiff
path: root/psutil
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2016-12-19 01:29:27 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2016-12-19 01:29:27 +0100
commite7d0efad3fa44de4310925cf3063132545edc3bd (patch)
tree2ec013e97404e3b052ffb76804f6c792b14667e1 /psutil
parentd5878ab9392666a3d0e20260f955621075649cf7 (diff)
downloadpsutil-e7d0efad3fa44de4310925cf3063132545edc3bd.tar.gz
update doc
Diffstat (limited to 'psutil')
-rw-r--r--psutil/__init__.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/psutil/__init__.py b/psutil/__init__.py
index 3269c857..79817b1d 100644
--- a/psutil/__init__.py
+++ b/psutil/__init__.py
@@ -981,6 +981,14 @@ class Process(object):
In this case is recommended for accuracy that this function
be called with at least 0.1 seconds between calls.
+ A value > 100.0 can be returned in case of processes running
+ multiple threads on different CPU cores.
+
+ The returned value is explicitly *not* split evenly between
+ all available logical CPUs. This means that a busy loop process
+ running on a system with 2 logical CPUs will be reported as
+ having 100% CPU utilization instead of 50%.
+
Examples:
>>> import psutil