com.palantir.opensource.sysmon.linux
Class LinuxVMStat

java.lang.Object
  extended by com.palantir.opensource.sysmon.linux.LinuxVMStat
All Implemented Interfaces:
LinuxVMStatMBean

public class LinuxVMStat
extends Object
implements LinuxVMStatMBean

Data container and JMX MBean implementation for vmstat data used by LinuxVMStatJMXWrapper.


Constructor Summary
LinuxVMStat()
           
 
Method Summary
 Integer getBlocksRead()
           
 Integer getBlocksWritten()
           
 Integer getBuffersMemory()
           
 Integer getCacheMemory()
           
 Integer getContextSwitches()
           
 Integer getFreeMemory()
           
 Integer getIdlePercentCPU()
           
 Integer getInterrupts()
           
 Integer getRunningProcesses()
           
 Integer getSleepingProcesses()
           
 Integer getStolenFromVMCPU()
           
 Integer getSwappedIn()
           
 Integer getSwappedMemory()
           
 Integer getSwappedOut()
           
 Integer getSysPercentCPU()
           
 Integer getUserPercentCPU()
           
 Integer getWaitPercentCPU()
           
 void takeValues(LinuxVMStat dataBean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinuxVMStat

public LinuxVMStat()
Method Detail

takeValues

public void takeValues(LinuxVMStat dataBean)
                throws LinuxMonitoringException
Throws:
LinuxMonitoringException

getRunningProcesses

public Integer getRunningProcesses()
Specified by:
getRunningProcesses in interface LinuxVMStatMBean

getSleepingProcesses

public Integer getSleepingProcesses()
Specified by:
getSleepingProcesses in interface LinuxVMStatMBean

getSwappedMemory

public Integer getSwappedMemory()
Specified by:
getSwappedMemory in interface LinuxVMStatMBean

getFreeMemory

public Integer getFreeMemory()
Specified by:
getFreeMemory in interface LinuxVMStatMBean

getBuffersMemory

public Integer getBuffersMemory()
Specified by:
getBuffersMemory in interface LinuxVMStatMBean

getCacheMemory

public Integer getCacheMemory()
Specified by:
getCacheMemory in interface LinuxVMStatMBean

getSwappedIn

public Integer getSwappedIn()
Specified by:
getSwappedIn in interface LinuxVMStatMBean

getSwappedOut

public Integer getSwappedOut()
Specified by:
getSwappedOut in interface LinuxVMStatMBean

getBlocksRead

public Integer getBlocksRead()
Specified by:
getBlocksRead in interface LinuxVMStatMBean

getBlocksWritten

public Integer getBlocksWritten()
Specified by:
getBlocksWritten in interface LinuxVMStatMBean

getInterrupts

public Integer getInterrupts()
Specified by:
getInterrupts in interface LinuxVMStatMBean

getContextSwitches

public Integer getContextSwitches()
Specified by:
getContextSwitches in interface LinuxVMStatMBean

getUserPercentCPU

public Integer getUserPercentCPU()
Specified by:
getUserPercentCPU in interface LinuxVMStatMBean

getSysPercentCPU

public Integer getSysPercentCPU()
Specified by:
getSysPercentCPU in interface LinuxVMStatMBean

getIdlePercentCPU

public Integer getIdlePercentCPU()
Specified by:
getIdlePercentCPU in interface LinuxVMStatMBean

getWaitPercentCPU

public Integer getWaitPercentCPU()
Specified by:
getWaitPercentCPU in interface LinuxVMStatMBean

getStolenFromVMCPU

public Integer getStolenFromVMCPU()
Specified by:
getStolenFromVMCPU in interface LinuxVMStatMBean


Copyright © 2012 Palantir Technologies. All Rights Reserved.