|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.excalibur.util.system.Linux
Parses the Linux environment--Uses the proc filesystem to determine all the CPU information.
Constructor Summary | |
Linux()
|
Method Summary | |
java.lang.String |
cpuInfo()
Return the cpu info for the processors (assuming symetric multiprocessing which means that all CPUs are identical). |
int |
numProcessors()
Return the number of processors available on the machine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Linux()
Method Detail |
public int numProcessors()
numProcessors
in interface CPUParser
public java.lang.String cpuInfo()
cpuInfo
in interface CPUParser
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |