|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.sigar.ProcTime
public class ProcTime
ProcTime sigar class.
| Constructor Summary | |
|---|---|
ProcTime()
|
|
| Method Summary | |
|---|---|
void |
gather(Sigar sigar,
long pid)
|
long |
getStartTime()
Get the Time process was started in seconds. |
long |
getSys()
Get the Process cpu kernel time. |
long |
getTotal()
Get the Process cpu time (sum of User and Sys). |
long |
getUser()
Get the Process cpu user time. |
java.util.Map |
toMap()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProcTime()
| Method Detail |
|---|
public void gather(Sigar sigar,
long pid)
throws SigarException
SigarExceptionpublic long getStartTime()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public long getUser()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public long getSys()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public long getTotal()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public java.util.Map toMap()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||