Class OpenBsdOSThread
java.lang.Object
oshi.software.common.AbstractOSThread
oshi.software.os.unix.openbsd.OpenBsdOSThread
- All Implemented Interfaces:
oshi.software.os.OSThread
@ThreadSafe
public class OpenBsdOSThread
extends oshi.software.common.AbstractOSThread
OSThread implementation
-
Nested Class Summary
Nested classes/interfaces inherited from interface oshi.software.os.OSThread
oshi.software.os.OSThread.ThreadFiltering -
Constructor Summary
ConstructorsConstructorDescriptionOpenBsdOSThread(int processId, int threadId) OpenBsdOSThread(int processId, Map<oshi.software.os.unix.openbsd.OpenBsdOSProcess.PsThreadColumns, String> threadMap) -
Method Summary
Methods inherited from class oshi.software.common.AbstractOSThread
getOwningProcessId, getThreadCpuLoadBetweenTicks, getThreadCpuLoadCumulative, toString
-
Constructor Details
-
OpenBsdOSThread
-
OpenBsdOSThread
public OpenBsdOSThread(int processId, int threadId)
-
-
Method Details
-
getThreadId
public int getThreadId() -
getName
-
getState
public oshi.software.os.OSProcess.State getState() -
getStartMemoryAddress
public long getStartMemoryAddress() -
getContextSwitches
public long getContextSwitches() -
getMinorFaults
public long getMinorFaults() -
getMajorFaults
public long getMajorFaults() -
getKernelTime
public long getKernelTime() -
getUserTime
public long getUserTime() -
getUpTime
public long getUpTime() -
getStartTime
public long getStartTime() -
getPriority
public int getPriority() -
updateAttributes
public boolean updateAttributes()
-