Function procfs::boot_time_secs

source ·
pub fn boot_time_secs() -> ProcResult<u64>
Expand description

The boottime of the system, in seconds since the epoch

This is calculated from /proc/stat.

See also boot_time() to get the boot time as a DateTime