[−][src]Function procfs::boot_time
pub fn boot_time() -> ProcResult<DateTime<Local>>
The boot time of the system, as a DateTime
object.
This is calculated from /proc/stat
.
This function requires the "chrono" features to be enabled (which it is by default).