Class LinuxCpuInfo
java.lang.Object
fr.ens.biologie.genomique.eoulsan.util.LinuxInfo
fr.ens.biologie.genomique.eoulsan.util.LinuxCpuInfo
Get information about processor on Linux systems.
- Since:
- 1.0
- Author:
- Laurent Jourdren
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet processor bogomips.getCores()Get the number of cores of the processor.Get CPU MHz.Get the file to parse.Get the model of processorGet the processor name.
-
Constructor Details
-
LinuxCpuInfo
public LinuxCpuInfo()Public constructor.
-
-
Method Details
-
getInfoFile
Description copied from class:LinuxInfoGet the file to parse.- Specified by:
getInfoFilein classLinuxInfo- Returns:
- the file to parse
-
getModelName
Get the model of processor- Returns:
- the model of processor
-
getProcessor
Get the processor name.- Returns:
- the processor name
-
getCPUMHz
Get CPU MHz.- Returns:
- the frequency of the processor
-
getBogoMips
Get processor bogomips.- Returns:
- the processor bogomips
-
getCores
Get the number of cores of the processor.- Returns:
- the number of core of the processor
-