org.eclipse.modisco.utils.core.internal.exported
Class SystemInfo

java.lang.Object
  extended by org.eclipse.modisco.utils.core.internal.exported.SystemInfo

public final class SystemInfo
extends java.lang.Object

Class providing information about the system that are not provided internally by JAVA


Method Summary
 java.lang.String getArch()
          Getter for the system architecture
static SystemInfo getInstance()
           
 java.lang.String getMemory()
          Getter providing the total amount of memory in the system
 int getnProcessors()
          Getter providing the number of processors (or core) in the system
 java.lang.String getOsName()
          Getter providing the operating system name
 java.lang.String getOsVersion()
          Getter providing the operating system version
 java.lang.String getProcCacheSize()
          Getter providing the size of the CPU cache memory
 java.lang.String getProcDescription()
          Getter providing the description of the CPU
 java.lang.String getProcName()
          Getter providing the processor name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getArch

public java.lang.String getArch()
Getter for the system architecture

Returns:
the architecture (String)

getMemory

public java.lang.String getMemory()
Getter providing the total amount of memory in the system

Returns:
the amount of memory (String)

getnProcessors

public int getnProcessors()
Getter providing the number of processors (or core) in the system

Returns:
the number of processors (String)

getOsName

public java.lang.String getOsName()
Getter providing the operating system name

Returns:
the OS name (String)

getOsVersion

public java.lang.String getOsVersion()
Getter providing the operating system version

Returns:
the OS version (String)

getProcDescription

public java.lang.String getProcDescription()
Getter providing the description of the CPU

Returns:
the processor description (String)

getProcCacheSize

public java.lang.String getProcCacheSize()
Getter providing the size of the CPU cache memory

Returns:
the size of cache (String)

getProcName

public java.lang.String getProcName()
Getter providing the processor name

Returns:
the processor name (String)

getInstance

public static SystemInfo getInstance()
                              throws java.io.IOException
Returns:
an instance of SystemInfo
Throws:
java.io.IOException - in case of error retrieving system information