org.hyperic.sigar
Interface SigarProxy
- All Known Implementing Classes:
- Sigar
- public interface SigarProxy
The proxyable interface for caching via SigarProxyCache.
This interface includes all methods which leave java land and
gather info from the system. All other accessors, such as the objects
returned by these methods do not leave java land.
getPid
public long getPid()
getServicePid
public long getServicePid(java.lang.String name)
throws SigarException
- Throws:
SigarException
getMem
public Mem getMem()
throws SigarException
- Throws:
SigarException
getSwap
public Swap getSwap()
throws SigarException
- Throws:
SigarException
getCpu
public Cpu getCpu()
throws SigarException
- Throws:
SigarException
getCpuPerc
public CpuPerc getCpuPerc()
throws SigarException
- Throws:
SigarException
getUptime
public Uptime getUptime()
throws SigarException
- Throws:
SigarException
getResourceLimit
public ResourceLimit getResourceLimit()
throws SigarException
- Throws:
SigarException
getLoadAverage
public double[] getLoadAverage()
throws SigarException
- Throws:
SigarException
getProcList
public long[] getProcList()
throws SigarException
- Throws:
SigarException
getProcStat
public ProcStat getProcStat()
throws SigarException
- Throws:
SigarException
getProcMem
public ProcMem getProcMem(long pid)
throws SigarException
- Throws:
SigarException
getProcMem
public ProcMem getProcMem(java.lang.String pid)
throws SigarException
- Throws:
SigarException
getMultiProcMem
public ProcMem getMultiProcMem(java.lang.String query)
throws SigarException
- Throws:
SigarException
getProcState
public ProcState getProcState(long pid)
throws SigarException
- Throws:
SigarException
getProcState
public ProcState getProcState(java.lang.String pid)
throws SigarException
- Throws:
SigarException
getProcTime
public ProcTime getProcTime(long pid)
throws SigarException
- Throws:
SigarException
getProcTime
public ProcTime getProcTime(java.lang.String pid)
throws SigarException
- Throws:
SigarException
getProcCpu
public ProcCpu getProcCpu(long pid)
throws SigarException
- Throws:
SigarException
getProcCpu
public ProcCpu getProcCpu(java.lang.String pid)
throws SigarException
- Throws:
SigarException
getMultiProcCpu
public MultiProcCpu getMultiProcCpu(java.lang.String query)
throws SigarException
- Throws:
SigarException
getProcCred
public ProcCred getProcCred(long pid)
throws SigarException
- Throws:
SigarException
getProcCred
public ProcCred getProcCred(java.lang.String pid)
throws SigarException
- Throws:
SigarException
getProcCredName
public ProcCredName getProcCredName(long pid)
throws SigarException
- Throws:
SigarException
getProcCredName
public ProcCredName getProcCredName(java.lang.String pid)
throws SigarException
- Throws:
SigarException
getProcFd
public ProcFd getProcFd(long pid)
throws SigarException
- Throws:
SigarException
getProcFd
public ProcFd getProcFd(java.lang.String pid)
throws SigarException
- Throws:
SigarException
getProcExe
public ProcExe getProcExe(long pid)
throws SigarException
- Throws:
SigarException
getProcExe
public ProcExe getProcExe(java.lang.String pid)
throws SigarException
- Throws:
SigarException
getProcArgs
public java.lang.String[] getProcArgs(long pid)
throws SigarException
- Throws:
SigarException
getProcArgs
public java.lang.String[] getProcArgs(java.lang.String pid)
throws SigarException
- Throws:
SigarException
getProcEnv
public java.util.Map getProcEnv(long pid)
throws SigarException
- Throws:
SigarException
getProcEnv
public java.util.Map getProcEnv(java.lang.String pid)
throws SigarException
- Throws:
SigarException
getProcEnv
public java.lang.String getProcEnv(long pid,
java.lang.String key)
throws SigarException
- Throws:
SigarException
getProcEnv
public java.lang.String getProcEnv(java.lang.String pid,
java.lang.String key)
throws SigarException
- Throws:
SigarException
getProcModules
public java.util.List getProcModules(long pid)
throws SigarException
- Throws:
SigarException
getProcModules
public java.util.List getProcModules(java.lang.String pid)
throws SigarException
- Throws:
SigarException
getProcPort
public long getProcPort(int protocol,
long port)
throws SigarException
- Throws:
SigarException
getProcPort
public long getProcPort(java.lang.String protocol,
java.lang.String port)
throws SigarException
- Throws:
SigarException
getFileSystemList
public FileSystem[] getFileSystemList()
throws SigarException
- Throws:
SigarException
getFileSystemMap
public FileSystemMap getFileSystemMap()
throws SigarException
- Throws:
SigarException
getMountedFileSystemUsage
public FileSystemUsage getMountedFileSystemUsage(java.lang.String name)
throws SigarException
- Throws:
SigarException
getFileSystemUsage
public FileSystemUsage getFileSystemUsage(java.lang.String name)
throws SigarException
- Throws:
SigarException
getFileInfo
public FileInfo getFileInfo(java.lang.String name)
throws SigarException
- Throws:
SigarException
getLinkInfo
public FileInfo getLinkInfo(java.lang.String name)
throws SigarException
- Throws:
SigarException
getDirStat
public DirStat getDirStat(java.lang.String name)
throws SigarException
- Throws:
SigarException
getDirUsage
public DirUsage getDirUsage(java.lang.String name)
throws SigarException
- Throws:
SigarException
getCpuInfoList
public CpuInfo[] getCpuInfoList()
throws SigarException
- Throws:
SigarException
getCpuList
public Cpu[] getCpuList()
throws SigarException
- Throws:
SigarException
getCpuPercList
public CpuPerc[] getCpuPercList()
throws SigarException
- Throws:
SigarException
getNetRouteList
public NetRoute[] getNetRouteList()
throws SigarException
- Throws:
SigarException
getNetInterfaceConfig
public NetInterfaceConfig getNetInterfaceConfig(java.lang.String name)
throws SigarException
- Throws:
SigarException
getNetInterfaceConfig
public NetInterfaceConfig getNetInterfaceConfig()
throws SigarException
- Throws:
SigarException
getNetInterfaceStat
public NetInterfaceStat getNetInterfaceStat(java.lang.String name)
throws SigarException
- Throws:
SigarException
getNetInterfaceList
public java.lang.String[] getNetInterfaceList()
throws SigarException
- Throws:
SigarException
getNetConnectionList
public NetConnection[] getNetConnectionList(int flags)
throws SigarException
- Throws:
SigarException
getNetListenAddress
public java.lang.String getNetListenAddress(long port)
throws SigarException
- Throws:
SigarException
getNetListenAddress
public java.lang.String getNetListenAddress(java.lang.String port)
throws SigarException
- Throws:
SigarException
getNetStat
public NetStat getNetStat()
throws SigarException
- Throws:
SigarException
getWhoList
public Who[] getWhoList()
throws SigarException
- Throws:
SigarException
getNetInfo
public NetInfo getNetInfo()
throws SigarException
- Throws:
SigarException
getFQDN
public java.lang.String getFQDN()
throws SigarException
- Throws:
SigarException
Copyright © 2004-2006 Hyperic. All Rights Reserved.