Class ProcessWtsDataFFM
java.lang.Object
oshi.driver.windows.registry.ProcessWtsDataFFM
Utility to read process data from WMI as a substitute for WTS native calls.
-
Method Summary
Modifier and TypeMethodDescriptionqueryProcessWtsMap(Collection<Integer> pids) Query WMI for process performance counters.
-
Method Details
-
queryProcessWtsMap
public static Map<Integer, oshi.driver.common.windows.registry.WtsInfo> queryProcessWtsMap(Collection<Integer> pids) Query WMI for process performance counters.- Parameters:
pids- An optional collection of process IDs to filter the list to. May be null for no filtering.- Returns:
- A map with Process ID as the key and a
WtsInfoobject populated with data.
-