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

Chris Angelico rosuav at gmail.com
Thu Nov 7 13:31:13 EST 2019


On Fri, Nov 8, 2019 at 1:24 AM R.Wieser <address at not.available> wrote:
>
> Chris,
>
> > Yes, but even if it's not recorded as a timestamp but as an
> > uptime counter, that counter can be referenced against the
> > current time in UTC.
>
> Absolutily.   Though the keyword here is "can".  My "could easily imagine"
> considers the other possibility.
>
> I guess I should sit down sometime and just flip the date back and forward
> (in-and-outof DST), and see how the result of psutil.boot_time() compares to
> the thanwhile current time.
>

Yep! Nothing like experimentation! :)

ChrisA


More information about the Python-list mailing list