/proc/uptime − system uptime
/proc/uptime
This file contains two numbers (values in seconds): the uptime of the system (including time spent in suspend) and the amount of time spent in the idle process.
proc(5)