|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.sigar.Mem
public class Mem
Mem sigar class.
| Constructor Summary | |
|---|---|
Mem()
|
|
| Method Summary | |
|---|---|
void |
gather(Sigar sigar)
|
long |
getActualFree()
Get the Actual total free system memory. |
long |
getActualUsed()
Get the Actual total used system memory (e.g. |
long |
getFree()
Get the Total free system memory (e.g. |
double |
getFreePercent()
Get the Percent total free system memory. |
long |
getRam()
Get the System Random Access Memory (in MB). |
long |
getTotal()
Get the Total system memory. |
long |
getUsed()
Get the Total used system memory. |
double |
getUsedPercent()
Get the Percent total used system memory. |
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 Mem()
| Method Detail |
|---|
public void gather(Sigar sigar)
throws SigarException
SigarExceptionpublic long getTotal()
Supported Platforms: All.
System equivalent commands:
lsattr -El sys0 -a realmemfreetaskman
public long getRam()
Supported Platforms: All.
System equivalent commands:
lsattr -El sys0 -a realmemcat /proc/mtrr | head -1
public long getUsed()
Supported Platforms: All.
System equivalent commands:
freetaskman
public long getFree()
Supported Platforms: All.
System equivalent commands:
freetaskman
public long getActualUsed()
Supported Platforms: All.
System equivalent commands:
freetaskman
public long getActualFree()
Supported Platforms: All.
System equivalent commands:
freetaskman
public double getUsedPercent()
Supported Platforms: All.
System equivalent commands:
freetaskman
public double getFreePercent()
Supported Platforms: All.
System equivalent commands:
freetaskman
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Map toMap()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||