|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.sigar.CpuInfo
public class CpuInfo
CpuInfo sigar class.
Constructor Summary | |
---|---|
CpuInfo()
|
Method Summary | |
---|---|
void |
gather(Sigar sigar)
|
long |
getCacheSize()
Get the CPU cache size. |
int |
getCoresPerSocket()
Get the Number of CPU cores per CPU socket. |
int |
getMhz()
Get the CPU speed. |
java.lang.String |
getModel()
Get the CPU model. |
int |
getTotalCores()
Get the Total CPU cores (logical). |
int |
getTotalSockets()
Get the Total CPU sockets (physical). |
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 int getTotalCores()
Supported Platforms: Undocumented.
System equivalent commands:
lsattr -El proc0
cat /proc/cpuinfo
psrinfo -v
public int getTotalSockets()
Supported Platforms: Undocumented.
System equivalent commands:
lsattr -El proc0
cat /proc/cpuinfo
psrinfo -v
public int getCoresPerSocket()
Supported Platforms: Undocumented.
System equivalent commands:
lsattr -El proc0
cat /proc/cpuinfo
psrinfo -v
public java.util.Map toMap()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |