[][src]Function rpsutil::system::boot_time

pub fn boot_time() -> u64

Return the system boot time expressed in seconds since the epoch.

Availability: Linux

Examples

let boot = rpsutil::system::boot_time();
assert!(boot > 0);