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.
If you compile with the optional chrono feature, you can use the boot_time() method to get the boot time as a DateTime object.