|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.sigar.CpuInfo
CpuInfo sigar class.
Constructor Summary | |
CpuInfo()
|
Method Summary | |
void |
gather(Sigar sigar)
|
long |
getCacheSize()
Get the CPU cache size. |
int |
getMhz()
Get the CPU speed. |
java.lang.String |
getModel()
Get the CPU model. |
java.lang.String |
getVendor()
Get the CPU vendor id. |
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 CpuInfo()
Method Detail |
public void gather(Sigar sigar) throws SigarException
SigarException
public java.lang.String getVendor()
Supported Platforms: AIX, FreeBSD, Linux, HPUX, Solaris, Win32.
System equivalent commands:
lsattr -El proc0
cat /proc/cpuinfo
psrinfo -v
public java.lang.String getModel()
Supported Platforms: AIX, FreeBSD, Linux, HPUX, Solaris, Win32.
System equivalent commands:
lsattr -El proc0
cat /proc/cpuinfo
psrinfo -v
public int getMhz()
Supported Platforms: AIX, FreeBSD, HPUX, Linux, Solaris, Win32.
System equivalent commands:
lsattr -El proc0
cat /proc/cpuinfo
psrinfo -v
public long getCacheSize()
Supported Platforms: AIX, Linux.
System equivalent commands:
lsattr -El proc0
cat /proc/cpuinfo
psrinfo -v
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 |