public class Ps extends SigarCommandBase implements Closable
Constructor and Description |
---|
Ps() |
Ps(org.hyperic.sigar.cmd.Shell shell) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Perform some clean up rutine
|
long |
CurrentThreadCount() |
protected void |
finalize() |
int |
GetCPUCores() |
static String |
getCpuTime(long total) |
static String |
getCpuTime(org.hyperic.sigar.ProcTime time) |
double |
GetCurrentCPUUsage() |
static List |
getInfo(org.hyperic.sigar.SigarProxy sigar,
long pid) |
long |
GetSystemBootTimeInMS() |
boolean |
isPidCompleter() |
List<String> |
runningProcesses() |
complete, completePid, flush, getCompleter, getCompletions, getFormatter, printf, printf, printf, println, setOutputFormat, sprintf, validateArgs
public boolean isPidCompleter()
isPidCompleter
in class SigarCommandBase
public static List getInfo(org.hyperic.sigar.SigarProxy sigar, long pid) throws org.hyperic.sigar.SigarException
org.hyperic.sigar.SigarException
public List<String> runningProcesses() throws org.hyperic.sigar.SigarException
org.hyperic.sigar.SigarException
public static String getCpuTime(long total)
public static String getCpuTime(org.hyperic.sigar.ProcTime time)
public long GetSystemBootTimeInMS()
public double GetCurrentCPUUsage() throws org.hyperic.sigar.SigarException
org.hyperic.sigar.SigarException
public long CurrentThreadCount() throws org.hyperic.sigar.SigarException
org.hyperic.sigar.SigarException
public int GetCPUCores()
public void close() throws Exception
Closable
Copyright © 2008–2017 MIL-OSS. All rights reserved.