diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-12-20 20:40:29 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-12-20 20:40:29 +0100 |
commit | 4924513541e23bf121f14e0fdf0c35facc9406a8 (patch) | |
tree | d814b435d54364d9a868ffa60cefb5edea8993e6 | |
parent | 039ba9079120fa40c22918fe8d02465f22a0dd4a (diff) | |
download | psutil-4924513541e23bf121f14e0fdf0c35facc9406a8.tar.gz |
update doc
-rw-r--r-- | docs/index.rst | 3 |
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() |