Possibly linux@lemmy.zipM to Linux Questions@lemmy.zip • 1 year agoWhere does the Linux uptime command get its data?message-squaremessage-square1 fedilinkarrow-up18file-text
arrow-up18message-squareWhere does the Linux uptime command get its data?Possibly linux@lemmy.zipM to Linux Questions@lemmy.zip • 1 year agomessage-square1 Commentsfedilinkfile-text
minus-squarefrankfurt_schoolgirl [she/her]hexbear1·1 year agoI 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 link
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