|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OperatingSystemMXBean
Provides access to information about the underlying operating
system. An instance of this bean is obtained by calling
ManagementFactory.getOperatingSystemMXBean()
.
Method Summary | |
---|---|
String |
getArch()
Returns the name of the underlying system architecture. |
int |
getAvailableProcessors()
Returns the number of processors currently available to the virtual machine. |
String |
getName()
Returns the name of the underlying operating system. |
double |
getSystemLoadAverage()
Returns the system load average for the last minute, or -1 if this is unavailable. |
String |
getVersion()
Returns the version of the underlying operating system. |
Method Detail |
---|
String getArch()
os.arch
property
via System.getProperty(String)
.
SecurityException
- if a security manager exists which
prevents access to the name property.System.getProperty(String)
,
SecurityManager.checkPropertyAccess(String)
int getAvailableProcessors()
Runtime.availableProcessors()
.
String getName()
os.name
property
via System.getProperty(String)
.
SecurityException
- if a security manager exists which
prevents access to the name property.System.getProperty(String)
,
SecurityManager.checkPropertyAccess(String)
double getSystemLoadAverage()
String getVersion()
os.version
property
via System.getProperty(String)
.
SecurityException
- if a security manager exists which
prevents access to the name property.System.getProperty(String)
,
SecurityManager.checkPropertyAccess(String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |