|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hyperic.sigar.Uptime
Uptime sigar class.
| Constructor Summary | |
Uptime()
|
|
| Method Summary | |
void |
gather(Sigar sigar)
|
double |
getUptime()
Get the Time since machine started in seconds. |
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 Uptime()
| Method Detail |
public void gather(Sigar sigar)
throws SigarException
SigarExceptionpublic double getUptime()
Supported Platforms: All.
System equivalent commands:
uptimeuptimeuptimeuptimeuptimeuptime
public java.util.Map toMap()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||