public class WindowsNativeSystemInfo extends NativeSystemInfo
SystemInfo implementation for the Microsoft Windows operating system platform. This class is used mainly to
obtain information found in the Windows Registry.| Constructor and Description |
|---|
WindowsNativeSystemInfo() |
| Modifier and Type | Method and Description |
|---|---|
List<ServiceInfo> |
getAllServices()
Returns the information on all installed services found in the services manager.
|
org.hyperic.sigar.DirUsage |
getDirectoryUsage(String path) |
List<String> |
getRegistryChildKeys(RegistryEntry.Root root,
String key)
Gets a list of all the sub-keys that are direct children of the given registry key.
|
List<RegistryEntry> |
getRegistryEntries(RegistryEntry.Root root,
String key)
Gets a list of all the value entries of the given registry key.
|
RegistryEntry |
getRegistryEntry(RegistryEntry.Root root,
String key,
String name)
Returns a registry entry (which includes its value) where the key is located under either the LOCAL_MACHINE or
CURRENT_USER root registry node.
|
List<String> |
getRegistryValueNames(RegistryEntry.Root root,
String key)
Gets a list of all the names of values of the given registry key.
|
executeProcess, getAllNetworkAdapters, getAllProcesses, getCpu, getFileSystem, getFileSystems, getHostname, getMemoryInfo, getNetworkAdapterStats, getNetworkConnections, getNetworkStats, getNumberOfCpus, getOperatingSystemName, getOperatingSystemType, getOperatingSystemVersion, getProcesses, getSwapInfo, getSystemArchitecture, getThisProcess, isNative, readLineFromConsole, writeLineToConsolepublic List<ServiceInfo> getAllServices() throws SystemInfoException
SystemInfogetAllServices in interface SystemInfogetAllServices in class NativeSystemInfoSystemInfoExceptionpublic org.hyperic.sigar.DirUsage getDirectoryUsage(String path)
getDirectoryUsage in interface SystemInfogetDirectoryUsage in class NativeSystemInfopublic List<String> getRegistryChildKeys(RegistryEntry.Root root, String key) throws SystemInfoException
key parameter for calls to
#getRegistryEntry(Root, String, String).root - key - SystemInfoExceptionpublic List<String> getRegistryValueNames(RegistryEntry.Root root, String key) throws SystemInfoException
name parameter for calls to
#getRegistryEntry(Root, String, String).root - key - SystemInfoExceptionpublic List<RegistryEntry> getRegistryEntries(RegistryEntry.Root root, String key) throws SystemInfoException
root - key - SystemInfoExceptionpublic RegistryEntry getRegistryEntry(RegistryEntry.Root root, String key, String name) throws SystemInfoException
root - the root of the registry tree where the registry key is foundkey - the name of the registry keyname - the name of the key entry valueSystemInfoExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.