Class LinuxOSProcessJNA

java.lang.Object
oshi.software.common.AbstractOSProcess
oshi.software.common.os.linux.LinuxOSProcess
oshi.software.os.linux.LinuxOSProcessJNA
All Implemented Interfaces:
oshi.software.os.OSProcess

@ThreadSafe public class LinuxOSProcessJNA extends oshi.software.common.os.linux.LinuxOSProcess
JNA-based Linux OS process. Implements getrlimit via JNA.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface oshi.software.os.OSProcess

    oshi.software.os.OSProcess.State
  • Constructor Summary

    Constructors
    Constructor
    Description
    LinuxOSProcessJNA(int pid, oshi.software.common.os.linux.LinuxOperatingSystem os)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected long
     
    protected long
     

    Methods inherited from class oshi.software.common.os.linux.LinuxOSProcess

    getAffinityMask, getArguments, getBitness, getBytesRead, getBytesWritten, getCommandLine, getContextSwitches, getCurrentWorkingDirectory, getEnvironmentVariables, getGroup, getGroupID, getHardOpenFileLimit, getKernelTime, getMajorFaults, getMinorFaults, getName, getOpenFiles, getOs, getParentProcessID, getPath, getPriority, getPrivateResidentMemory, getProcessOpenFileLimit, getResidentMemory, getSoftOpenFileLimit, getStartTime, getState, getThreadCount, getThreadDetails, getUpTime, getUser, getUserID, getUserTime, getVirtualSize, updateAttributes

    Methods inherited from class oshi.software.common.AbstractOSProcess

    getProcessCpuLoadBetweenTicks, getProcessCpuLoadCumulative, getProcessID, toString

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface oshi.software.os.OSProcess

    getResidentSetSize
  • Constructor Details

    • LinuxOSProcessJNA

      public LinuxOSProcessJNA(int pid, oshi.software.common.os.linux.LinuxOperatingSystem os)
  • Method Details

    • queryRlimitSoft

      protected long queryRlimitSoft()
      Specified by:
      queryRlimitSoft in class oshi.software.common.os.linux.LinuxOSProcess
    • queryRlimitHard

      protected long queryRlimitHard()
      Specified by:
      queryRlimitHard in class oshi.software.common.os.linux.LinuxOSProcess