summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-05-08 04:30:02 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2017-05-08 04:30:02 +0200
commitef026ada97a4faadd5658472100c5e68b869d962 (patch)
tree7f935c5a0dd28e20a81ab8b333a558232916e754
parent3e06eee00d3717592336191113f3f82c9832ddce (diff)
downloadpsutil-ef026ada97a4faadd5658472100c5e68b869d962.tar.gz
#1007: add note about boot_time() on win whose is may not be the same across different processes
-rw-r--r--docs/index.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 350af93f..b1ff16a9 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -749,6 +749,11 @@ Other system info
>>> datetime.datetime.fromtimestamp(psutil.boot_time()).strftime("%Y-%m-%d %H:%M:%S")
'2014-01-12 22:51:00'
+ .. note::
+ on Windows this function may return a time which is off by 1 second if it's
+ used across different processes (see
+ `issue #1007 <https://github.com/giampaolo/psutil/issues/1007>`__).
+
.. function:: users()
Return users currently connected on the system as a list of named tuples