org.apache.excalibur.util
Interface CPUParser

All Known Implementing Classes:
Linux, Windows2000, Windows95, Windows98, WindowsNT, WindowsXP

public interface CPUParser

This interface is for CPUParser objects that are automagically loaded, and perform architecture dependant processing for determining the number of CPUs, and the generic infomation about them.

Version:
CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:35 $
Author:
Avalon Development Team

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
 

Method Detail

numProcessors

public int numProcessors()
Return the number of processors available on the machine


cpuInfo

public java.lang.String cpuInfo()
Return the cpu info for the processors (assuming symetric multiprocessing which means that all CPUs are identical). The format is: ${arch} Family ${family} Model ${model} Stepping ${stepping}, ${vendor_id}



Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.