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
ConstructorsConstructorDescriptionLinuxOSProcessJNA(int pid, oshi.software.common.os.linux.LinuxOperatingSystem os) -
Method Summary
Modifier and TypeMethodDescriptionprotected longprotected longMethods 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, updateAttributesMethods 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
-
LinuxOSProcessJNA
public LinuxOSProcessJNA(int pid, oshi.software.common.os.linux.LinuxOperatingSystem os)
-
-
Method Details
-
queryRlimitSoft
protected long queryRlimitSoft()- Specified by:
queryRlimitSoftin classoshi.software.common.os.linux.LinuxOSProcess
-
queryRlimitHard
protected long queryRlimitHard()- Specified by:
queryRlimitHardin classoshi.software.common.os.linux.LinuxOSProcess
-