Package oshi.driver.linux.proc
Class UpTime
- java.lang.Object
-
- oshi.driver.linux.proc.UpTime
-
@ThreadSafe public final class UpTime extends java.lang.Object
Utility to read system uptime from/proc/uptime
-
-
Constructor Summary
Constructors Modifier Constructor Description privateUpTime()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doublegetSystemUptimeSeconds()Parses the first value in/proc/uptimefor seconds since boot
-