public interface OperatingSystemDetails
Modifier and Type | Interface and Description |
---|---|
static interface |
OperatingSystemDetails.DriveDetails |
static interface |
OperatingSystemDetails.NetworkDetails |
static interface |
OperatingSystemDetails.VendorDetails |
Modifier and Type | Method and Description |
---|---|
String |
getArch()
Returns the architecture of the operating system.
|
int |
getAvailableProcessors()
Returns the number of available processors.
|
Map<String,OperatingSystemDetails.DriveDetails> |
getDriveDetails()
Returns drive details
|
String |
getHostAddress()
Returns the (local) host address of the OS.
|
String |
getHostName()
Returns the (local) host name of the OS.
|
String |
getName()
Returns the name of the operating system.
|
Map<String,OperatingSystemDetails.NetworkDetails> |
getNetworkDetails()
Returns network details
|
long |
getTotalPhysicalMemorySizeInBytes()
Returns the total physical memory size in bytes.
|
double |
getTotalPhysicalMemorySizeInGB()
Returns the total physical memory size in giga byes.
|
double |
getTotalPhysicalMemorySizeInMB()
Returns the total physical memory size in mega bytes.
|
long |
getTotalSwapSpaceSizeInBytes()
Returns the total swap space size in bytes.
|
double |
getTotalSwapSpaceSizeInGB()
Returns the total swap space size in giga bytes.
|
double |
getTotalSwapSpaceSizeInMB()
Returns the total swap space size in mega bytes.
|
String |
getUid()
Returns the uid of the operating system.
|
OperatingSystemDetails.VendorDetails |
getVendorDetails() |
String |
getVersion()
Returns the version of the operating system.
|
boolean |
isNA()
Returns
true if the details are not available. |
boolean isNA()
true
if the details are not available.String getUid()
String getName()
OperatingSystemMXBean.getName()
String getArch()
OperatingSystemMXBean.getArch()
String getVersion()
OperatingSystemMXBean.getVersion()
int getAvailableProcessors()
long getTotalSwapSpaceSizeInBytes()
Note, currently only available on SUN VM.
double getTotalSwapSpaceSizeInMB()
Note, currently only available on SUN VM.
double getTotalSwapSpaceSizeInGB()
Note, currently only available on SUN VM.
long getTotalPhysicalMemorySizeInBytes()
Note, currently only available on SUN VM.
double getTotalPhysicalMemorySizeInMB()
Note, currently only available on SUN VM.
double getTotalPhysicalMemorySizeInGB()
Note, currently only available on SUN VM.
String getHostName()
String getHostAddress()
Map<String,OperatingSystemDetails.NetworkDetails> getNetworkDetails()
Map<String,OperatingSystemDetails.DriveDetails> getDriveDetails()
OperatingSystemDetails.VendorDetails getVendorDetails()
null
if no vendor details available (e.g.
when using JMX and not Sigar).Copyright © GigaSpaces.