public class AbstractProcess extends Object implements OSProcess
OSProcess.State| Modifier and Type | Field and Description |
|---|---|
protected long |
kernelTime |
protected String |
name |
protected int |
parentProcessID |
protected String |
path |
protected int |
priority |
protected int |
processID |
protected long |
residentSetSize |
protected long |
startTime |
protected OSProcess.State |
state |
protected int |
threadCount |
protected long |
upTime |
protected long |
userTime |
protected long |
virtualSize |
| Constructor and Description |
|---|
AbstractProcess() |
| Modifier and Type | Method and Description |
|---|---|
long |
getKernelTime() |
String |
getName() |
int |
getParentProcessID() |
String |
getPath() |
int |
getPriority() |
int |
getProcessID() |
long |
getResidentSetSize() |
long |
getStartTime() |
OSProcess.State |
getState() |
int |
getThreadCount() |
long |
getUpTime() |
long |
getUserTime() |
long |
getVirtualSize() |
javax.json.JsonObject |
toJSON()
Creates a compact JSON string containing the information for this class
|
protected String name
protected String path
protected OSProcess.State state
protected int processID
protected int parentProcessID
protected int threadCount
protected int priority
protected long virtualSize
protected long residentSetSize
protected long kernelTime
protected long userTime
protected long startTime
protected long upTime
public String getName()
public String getPath()
public OSProcess.State getState()
public int getProcessID()
getProcessID in interface OSProcesspublic int getParentProcessID()
getParentProcessID in interface OSProcesspublic int getThreadCount()
getThreadCount in interface OSProcesspublic int getPriority()
getPriority in interface OSProcesspublic long getVirtualSize()
getVirtualSize in interface OSProcesspublic long getResidentSetSize()
getResidentSetSize in interface OSProcesspublic long getKernelTime()
getKernelTime in interface OSProcesspublic long getUserTime()
getUserTime in interface OSProcesspublic long getUpTime()
public long getStartTime()
getStartTime in interface OSProcesspublic javax.json.JsonObject toJSON()
toJSON in interface OshiJsonObjectCopyright © 2010–2016 com.github.dblock. All rights reserved.