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 StringgetBogoMips()Get processor bogomips.StringgetCores()Get the number of cores of the processor.StringgetCPUMHz()Get CPU MHz.FilegetInfoFile()Get the file to parse.StringgetModelName()Get the model of processorStringgetProcessor()Get the processor name.
-
-
-
Method Detail
-
getInfoFile
public File getInfoFile()
Description copied from class:LinuxInfoGet the file to parse.- Specified by:
getInfoFilein 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
-
-