New answers tagged


It depends on the system you are talking about. For Linux-based systems, you probably are using uptime from procps, which reads the data from /proc/uptime. To see this, read the source-code in its Git repository, e.g., uptime.c, which uses proc/sysinfo.c. According to CentOS documents 3.2.30. /proc/uptime This file contains information detailing ...

Top 50 recent answers are included