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
  • Constructor Details

    • MacOSProcessJNA

      public MacOSProcessJNA(int pid, int major, int minor, oshi.software.common.os.mac.MacOperatingSystem os)
  • Method Details

    • getName

      public String getName()
    • getPath

      public String getPath()
    • getCommandLine

      public String getCommandLine()
    • getArguments

      public List<String> getArguments()
    • getEnvironmentVariables

      public Map<String,String> getEnvironmentVariables()
    • getCurrentWorkingDirectory

      public String getCurrentWorkingDirectory()
    • getUser

      public String getUser()
    • getUserID

      public String getUserID()
    • getGroup

      public String getGroup()
    • getGroupID

      public String getGroupID()
    • getState

      public oshi.software.os.OSProcess.State getState()
    • getParentProcessID

      public int getParentProcessID()
    • getThreadCount

      public int getThreadCount()
    • getThreadDetails

      public List<oshi.software.os.OSThread> 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()