Class ThreadInfo
java.lang.Object
oshi.driver.common.mac.ThreadInfo
Utility to query threads for a process
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classClass to encapsulate mach thread info -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ThreadInfo.ThreadStats> queryTaskThreads(int pid) Queries thread statistics for a process.
-
Method Details
-
queryTaskThreads
Queries thread statistics for a process.- Parameters:
pid- the process ID- Returns:
- a list of thread statistics
-