summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2016-12-20 20:40:29 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2016-12-20 20:40:29 +0100
commit4924513541e23bf121f14e0fdf0c35facc9406a8 (patch)
treed814b435d54364d9a868ffa60cefb5edea8993e6
parent039ba9079120fa40c22918fe8d02465f22a0dd4a (diff)
downloadpsutil-4924513541e23bf121f14e0fdf0c35facc9406a8.tar.gz
update doc
-rw-r--r--docs/index.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/index.rst b/docs/index.rst
index ef46f03f..afa99c52 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -156,13 +156,14 @@ CPU
in Python 3.4).
If *logical* is ``False`` return the number of physical cores only (hyper
thread CPUs are excluded). Return ``None`` if undetermined.
+ On OpenBSD and NetBSD ``psutil.cpu_count(logical=False)`` always return
+ ``None``. Example on a system having 2 physical hyper-thread CPU cores:
>>> import psutil
>>> psutil.cpu_count()
4
>>> psutil.cpu_count(logical=False)
2
- >>>
.. function:: cpu_stats()