java.lang.Object
oshi.driver.linux.proc.UpTime
Utility to read system uptime from
/proc/uptime
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
Parses the first value in/proc/uptime
for seconds since boot
-
Method Details
-
getSystemUptimeSeconds
public static double getSystemUptimeSeconds()Parses the first value in/proc/uptime
for seconds since boot- Returns:
- Seconds since boot
-