org.aitools.programd.util
Class UserSystem

java.lang.Object
  extended by org.aitools.programd.util.UserSystem

public class UserSystem
extends java.lang.Object

Contains utilities for getting/setting system information.

Author:
Noel Bush

Field Summary
private static double BYTES_PER_MB
           
 
Constructor Summary
UserSystem()
           
 
Method Summary
static java.lang.String jvmDescription()
          Returns a description of the JVM.
static java.lang.String memoryReport()
          Returns a report of used and available memory.
static java.lang.String osDescription()
          Returns a description of the operating system and processor configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BYTES_PER_MB

private static double BYTES_PER_MB
Constructor Detail

UserSystem

public UserSystem()
Method Detail

jvmDescription

public static java.lang.String jvmDescription()
Returns a description of the JVM.

Returns:
a description of the JVM

osDescription

public static java.lang.String osDescription()
Returns a description of the operating system and processor configuration.

Returns:
a description of the operating system and processor configuration

memoryReport

public static java.lang.String memoryReport()
Returns a report of used and available memory.

Returns:
a report of used and available memory