|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
ProcTime data into a single object.SystemInfo
implementation, regardless of whether the factory has disabled the native
layer or not.
SystemInfo implementation based on the platform/operating system the JVM is
running on.
create any native objects and to not load the
native libraries - even if the native library is available.
create native objects.
ProcessInfo objects are equal if their pids are the same.
ServiceInfo objects are equal if their names are the same.
NetworkAdapterInfo objects - only the data available via the Java API
(particularly the NetworkInterface class) will be available in the returned objects.
UnsupportedOperationException since the Java API cannot obtain information about currently running
processes.
UnsupportedOperationException since the Java API cannot obtain information about installed
services.
ProcessInfo.getName(), this is a convenience method that returns the first command line argument, which
is the name of the program that the process is executing.
String.
UnsupportedOperationException since the Java API cannot obtain information about CPUs.
null otherwise.
UnsupportedOperationException since the Java API cannot obtain information about file systems.
UnsupportedOperationException since the Java API cannot obtain information about file systems.
InetAddress.getLocalHost().
UnsupportedOperationException since the Java API cannot obtain information about low level memory
details.
available and
enabled, this will return the native system's version string.
UnsupportedOperationException since the Java API cannot obtain information about the number of
CPUs.
os.name.
OperatingSystemType.JAVA unless the type can be determined via the Java "os.name" property.
OperatingSystemType.JAVA is returned (in which
case, the caller can examine the Java system property "os.name" to try to detect the type).
os.version.
UnsupportedOperationException since the Java API cannot obtain information about processes.
processes that this object will query
against.
UnsupportedOperationException since the Java API cannot obtain information about low level swap
details.
UnsupportedOperationException since the Java API cannot obtain information about currently running
processes.
RegistryValue.getType().
ProcessInfo.getPid() itself.
true, then the executable should first be checked for its existence.
false - this implementation relies solely on the Java API to get all the system information
it can.
true to indicate that the native library is available.
true if the actual implementation is backed by a native library.
true is returned.
true if this factory was told to disable the native
layer.
true iff the native libraries have actually been initialized.
SystemInfo used in the case when there is no native
library available that can be used to obtain low-level system information.SystemInfo implementations.NativeSystemInfo with package scope so only the SystemInfoFactory can instantiate
this object.
ProcessExecution that defines the full path to the executable that will be run.
SystemInfo.executeProcess(ProcessExecution).command line strings.ProcessInfoQuery given an collection of process information that represents the processes
currently running.
query defines the criteria.
System.in.
true, the process's output will be captured and returned in the results.
true, then the process will be forcibly killed if it doesn't exit within the
wait time.
null, will be the working directory of the new process (if null, the new
process's working directory will be the current working directory of caller).
JavaSystemInfo object.SystemInfo objects based on the native operating system the VM is running on.SystemInfo implementation for the Microsoft Windows operating system platform.System.out.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||