public class ProcUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static File[] |
getPidFiles()
Gets an array of files in the /proc directory with only numeric digit
filenames, corresponding to processes
|
static float |
getSystemUptimeFromProc()
Parses the first value in /proc/uptime for seconds since boot
|
public static float getSystemUptimeFromProc()
public static File[] getPidFiles()
Copyright © 2010–2018 oshi. All rights reserved.