Does it get the uptime of pid 1 or something else?

  • frankfurt_schoolgirl [she/her]
    ·
    1 year ago

    I believe it comes from this: https://man7.org/linux/man-pages/man5/utmp.5.html

    You can always check the code: https://github.com/coreutils/coreutils/blob/master/src/uptime.c