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