Class MacOSProcessJNA
java.lang.Object
oshi.software.common.AbstractOSProcess
oshi.software.os.mac.MacOSProcessJNA
- All Implemented Interfaces:
oshi.software.os.OSProcess
@ThreadSafe
public class MacOSProcessJNA
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
ConstructorsConstructorDescriptionMacOSProcessJNA(int pid, int major, int minor, oshi.software.common.os.mac.MacOperatingSystem 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
getResidentSetSize
-
Constructor Details
-
MacOSProcessJNA
public MacOSProcessJNA(int pid, int major, int minor, oshi.software.common.os.mac.MacOperatingSystem 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() -
getThreadDetails
-
getPriority
public int getPriority() -
getVirtualSize
public long getVirtualSize() -
getResidentMemory
public long getResidentMemory() -
getPrivateResidentMemory
public long getPrivateResidentMemory() -
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() -
getMinorFaults
public long getMinorFaults() -
getMajorFaults
public long getMajorFaults() -
getContextSwitches
public long getContextSwitches() -
updateAttributes
public boolean updateAttributes()
-