You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently psutil supports .BOOT_TIME attribute, but this attribute is not a
subject to clock updates done by NTP daemon/ntpdate and such software, at least
on linux. On the other hand, methods usually used to get uptime (subtraction of
.BOOT_TIME from time.time()) are subject to clock updates, meaning that this
attribute cannot be used to get system uptime.
Agreed.
A new psutil.get_boot_time() function is now available.
I chose that name in order to be consistent with BOOT_TIME.
Done in revision dfd6641057c8 .
From [email protected] on March 17, 2013 09:49:58
Original issue: http://code.google.com/p/psutil/issues/detail?id=359
The text was updated successfully, but these errors were encountered: