Possibly linux@lemmy.zipM to Linux Questions@lemmy.zipEnglish · 1 year agoWhere does the Linux uptime command get its data?message-squaremessage-square3fedilinkarrow-up116arrow-down11file-text
arrow-up115arrow-down1message-squareWhere does the Linux uptime command get its data?Possibly linux@lemmy.zipM to Linux Questions@lemmy.zipEnglish · 1 year agomessage-square3fedilinkfile-text
minus-squared3Xt3r@lemmy.nzlinkfedilinkEnglisharrow-up1·edit-21 year agoIt reads it from /proc/uptime, which is generated by the kernel.
It reads it from
/proc/uptime
, which is generated by the kernel.