|
|||||||||
| Home >> All >> com >> jcorporate >> expresso >> core >> [ utility overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.jcorporate.expresso.core.utility
Class SystemInfo

java.lang.Objectcom.jcorporate.expresso.core.utility.SystemInfo
- public class SystemInfo
- extends java.lang.Object
System information utility class
| Field Summary | |
private static java.lang.Runtime |
m_runtime
The Runtime system |
| Constructor Summary | |
SystemInfo()
|
|
| Method Summary | |
static int |
getFreeMem()
Retrieve the amount of free memory in Kilobytes |
static java.lang.String |
getHostName()
Get the host name. |
static int |
getLoadAverage()
Not implemented |
static java.lang.String |
getOSClass()
Retrieves either windows or unix depending on the os name |
static java.lang.String |
getOSName()
Returns the operating system name as defined by the "os.name" system property |
static double |
getPowerFactor()
|
static int |
getTotalMem()
Retrieve the total system memory in kilobytes |
static int |
getUsedMem()
Get the used memory in bytes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
m_runtime
private static java.lang.Runtime m_runtime
- The Runtime system
| Constructor Detail |
SystemInfo
public SystemInfo()
| Method Detail |
getTotalMem
public static int getTotalMem()
- Retrieve the total system memory in kilobytes
getUsedMem
public static int getUsedMem()
- Get the used memory in bytes
getFreeMem
public static int getFreeMem()
- Retrieve the amount of free memory in Kilobytes
getLoadAverage
public static int getLoadAverage()
- Not implemented
getPowerFactor
public static double getPowerFactor()
getHostName
public static java.lang.String getHostName()
- Get the host name. Returns unknown if it cannot ascertain the localhost
host name
getOSName
public static java.lang.String getOSName()
- Returns the operating system name as defined by the "os.name"
system property
getOSClass
public static java.lang.String getOSClass()
- Retrieves either windows or unix depending on the os name
|
|||||||||
| Home >> All >> com >> jcorporate >> expresso >> core >> [ utility overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.jcorporate.expresso.core.utility.SystemInfo