psutil.boot_time() ... doesn't ?

Chris Angelico rosuav at gmail.com
Wed Nov 6 14:31:21 EST 2019


On Thu, Nov 7, 2019 at 6:11 AM R.Wieser <address at not.available> wrote:
>
> I also tried to google "python BOOT_TIME", but got nowhere (the latter parts
> casing was ignored).  Hence me posting here.
>

That's possibly because you're looking at psutil, which is a third
party package. Here's its documentation:

https://psutil.readthedocs.io/en/latest/#psutil.boot_time

But I don't know what its definition is, whether it's "current time
minus uptime" or "timestamp recorded during bootup". It might not even
be consistent across platforms.

ChrisA


More information about the Python-list mailing list