|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.sigar.ProcCpu
public class ProcCpu
ProcCpu sigar class.
| Constructor Summary | |
|---|---|
ProcCpu()
|
|
| Method Summary | |
|---|---|
void |
gather(Sigar sigar,
long pid)
|
long |
getLastTime()
Get the last_time. |
double |
getPercent()
Get the Process cpu usage. |
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 ProcCpu()
| Method Detail |
|---|
public void gather(Sigar sigar,
long pid)
throws SigarException
SigarExceptionpublic double getPercent()
Supported Platforms: All.
public long getLastTime()
Supported Platforms: All.
public long getStartTime()
Supported Platforms: All.
public long getUser()
Supported Platforms: All.
public long getSys()
Supported Platforms: All.
public long getTotal()
Supported Platforms: All.
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 | ||||||||