java.lang.Object
oshi.driver.windows.perfmon.ProcessInformation
Utility to query Process Information performance counter
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Handle performance countersstatic enum
Processor performance countersstatic enum
Process performance counters -
Method Summary
Modifier and TypeMethodDescriptionReturns handle countersReturns cooked idle process performance counters.Returns process counters.
-
Method Details
-
queryProcessCounters
public static Pair<List<String>,Map<ProcessInformation.ProcessPerformanceProperty, queryProcessCounters()List<Long>>> Returns process counters.- Returns:
- Process counters for each process.
-
queryHandles
public static Pair<List<String>,Map<ProcessInformation.HandleCountProperty, queryHandles()List<Long>>> Returns handle counters- Returns:
- Process handle counters for each process.
-
queryIdleProcessCounters
public static Pair<List<String>,Map<ProcessInformation.IdleProcessorTimeProperty, queryIdleProcessCounters()List<Long>>> Returns cooked idle process performance counters.- Returns:
- Cooked performance counters for idle process.
-