Skip to content

Commit

Permalink
#1007: add note about boot_time() on win whose is may not be the same…
Browse files Browse the repository at this point in the history
… across different processes
  • Loading branch information
giampaolo committed May 8, 2017
1 parent 3e06eee commit ef026ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef026ad

Please sign in to comment.