Class LinuxCpuInfo


  • public class LinuxCpuInfo
    extends LinuxInfo
    Get information about processor on Linux systems.
    Since:
    1.0
    Author:
    Laurent Jourdren
    • Constructor Detail

      • LinuxCpuInfo

        public LinuxCpuInfo()
        Public constructor.
    • Method Detail

      • getInfoFile

        public File getInfoFile()
        Description copied from class: LinuxInfo
        Get the file to parse.
        Specified by:
        getInfoFile in class LinuxInfo
        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