|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.sigar.Swap
public class Swap
Swap sigar class.
Constructor Summary | |
---|---|
Swap()
|
Method Summary | |
---|---|
void |
gather(Sigar sigar)
|
long |
getFree()
Get the Total free system swap. |
long |
getPageIn()
Get the Pages in. |
long |
getPageOut()
Get the Pages out. |
long |
getTotal()
Get the Total system swap. |
long |
getUsed()
Get the Total used system swap. |
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 Swap()
Method Detail |
---|
public void gather(Sigar sigar) throws SigarException
SigarException
public long getTotal()
Supported Platforms: All.
System equivalent commands:
lsps -s
sysctl vm.swapusage
free
swap -s
public long getUsed()
Supported Platforms: All.
System equivalent commands:
lsps -s
free
swap -s
public long getFree()
Supported Platforms: All.
System equivalent commands:
free
swap -s
public long getPageIn()
Supported Platforms: All.
System equivalent commands:
vmstat
vmstat
public long getPageOut()
Supported Platforms: All.
System equivalent commands:
vmstat
vmstat
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map toMap()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |