Class OpenBsdOSProcess
java.lang.Object
oshi.software.common.AbstractOSProcess
oshi.software.os.unix.openbsd.OpenBsdOSProcess
- All Implemented Interfaces:
oshi.software.os.OSProcess
@ThreadSafe
public class OpenBsdOSProcess
extends oshi.software.common.AbstractOSProcess
OSProcess implementation
-
Nested Class Summary
Nested classes/interfaces inherited from interface oshi.software.os.OSProcess
oshi.software.os.OSProcess.State -
Constructor Summary
ConstructorsConstructorDescriptionOpenBsdOSProcess(int pid, Map<oshi.software.os.unix.openbsd.OpenBsdOperatingSystem.PsKeywords, String> psMap, OpenBsdOperatingSystem os) -
Method Summary
Methods inherited from class oshi.software.common.AbstractOSProcess
getProcessCpuLoadBetweenTicks, getProcessCpuLoadCumulative, getProcessID, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface oshi.software.os.OSProcess
getPrivateResidentMemory, getResidentSetSize
-
Constructor Details
-
OpenBsdOSProcess
public OpenBsdOSProcess(int pid, Map<oshi.software.os.unix.openbsd.OpenBsdOperatingSystem.PsKeywords, String> psMap, OpenBsdOperatingSystem os)
-
-
Method Details
-
getName
-
getPath
-
getCommandLine
-
getArguments
-
getEnvironmentVariables
-
getCurrentWorkingDirectory
-
getUser
-
getUserID
-
getGroup
-
getGroupID
-
getState
public oshi.software.os.OSProcess.State getState() -
getParentProcessID
public int getParentProcessID() -
getThreadCount
public int getThreadCount() -
getPriority
public int getPriority() -
getVirtualSize
public long getVirtualSize() -
getResidentMemory
public long getResidentMemory() -
getKernelTime
public long getKernelTime() -
getUserTime
public long getUserTime() -
getUpTime
public long getUpTime() -
getStartTime
public long getStartTime() -
getBytesRead
public long getBytesRead() -
getBytesWritten
public long getBytesWritten() -
getOpenFiles
public long getOpenFiles() -
getSoftOpenFileLimit
public long getSoftOpenFileLimit() -
getHardOpenFileLimit
public long getHardOpenFileLimit() -
getBitness
public int getBitness() -
getAffinityMask
public long getAffinityMask() -
getThreadDetails
-
getMinorFaults
public long getMinorFaults() -
getMajorFaults
public long getMajorFaults() -
getContextSwitches
public long getContextSwitches() -
updateAttributes
public boolean updateAttributes()
-