Function procfs::boot_time [−][src]
pub fn boot_time() -> ProcResult<DateTime<Local>>
The boottime of the system, as a DateTime
object.
This is calculated from /proc/stat
.
pub fn boot_time() -> ProcResult<DateTime<Local>>
The boottime of the system, as a DateTime
object.
This is calculated from /proc/stat
.