summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-01-23 23:24:34 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2017-01-23 23:24:34 +0100
commit40eaade5c718c021b5b2d50e09626facf2feec75 (patch)
tree0fcd4feda5020eb91a2611658698f747421e6093 /docs
parent5f186957a4ae6505810488c7b3118453c459fdec (diff)
downloadpsutil-40eaade5c718c021b5b2d50e09626facf2feec75.tar.gz
add cpu_distribution script
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 7efddb24..f9ecf42f 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -1245,9 +1245,10 @@ Process class
The returned number should be ``<=`` :func:`psutil.cpu_count()` and
``<= len(psutil.cpu_percent(percpu=True))``.
It may be used in conjunction with ``psutil.cpu_percent(percpu=True)`` to
- observe the system workload distributed across multiple CPUs.
+ observe the system workload distributed across multiple CPUs as shown by
+ `cpu_workload.py <https://github.com/giampaolo/psutil/blob/master/scripts/cpu_workload.py>`__ example script.
- Availability: Linux
+ Availability: Linux, FreeBSD
.. versionadded:: 5.1.0