Uses of Interface
oshi.software.os.OSProcess
Packages that use OSProcess
Package
Description
Provides abstract classes for common code
[oshi-core API] Provides cross-platform implementation to retrieve OS, FileSystem, and Process information
Provides information about Software and OS on Linux
Provides information about Software and OS on macOS
Provides information about Software and OS on AIX
Provides information about Software and OS on FreeBSD
Provides information about Software and OS on OpenBSD
Provides information about Software and OS on Solaris
Provides information about Software and OS on Windows
-
Uses of OSProcess in oshi.software.common
Classes in oshi.software.common that implement OSProcessModifier and TypeClassDescriptionclass
A process is an instance of a computer program that is being executed.Methods in oshi.software.common that return types with arguments of type OSProcessModifier and TypeMethodDescriptionAbstractOperatingSystem.getChildProcesses
(int parentPid, Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) AbstractOperatingSystem.getDescendantProcesses
(int parentPid, Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) AbstractOperatingSystem.getProcesses
(Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) AbstractOperatingSystem.queryAllProcesses()
AbstractOperatingSystem.queryChildProcesses
(int parentPid) AbstractOperatingSystem.queryDescendantProcesses
(int parentPid) Methods in oshi.software.common with parameters of type OSProcessModifier and TypeMethodDescriptiondouble
AbstractOSProcess.getProcessCpuLoadBetweenTicks
(OSProcess priorSnapshot) Method parameters in oshi.software.common with type arguments of type OSProcessModifier and TypeMethodDescriptionAbstractOperatingSystem.getChildProcesses
(int parentPid, Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) AbstractOperatingSystem.getChildProcesses
(int parentPid, Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) AbstractOperatingSystem.getChildrenOrDescendants
(Collection<OSProcess> allProcs, int parentPid, boolean allDescendants) Utility method for subclasses to take a full process list as input and return the children or descendants of a particular process.AbstractOperatingSystem.getDescendantProcesses
(int parentPid, Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) AbstractOperatingSystem.getDescendantProcesses
(int parentPid, Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) AbstractOperatingSystem.getProcesses
(Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) AbstractOperatingSystem.getProcesses
(Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) -
Uses of OSProcess in oshi.software.os
Fields in oshi.software.os with type parameters of type OSProcessModifier and TypeFieldDescriptionOperatingSystem.ProcessFiltering.ALL_PROCESSES
No filtering.OperatingSystem.ProcessFiltering.BITNESS_32
Only include 32-bit processes.OperatingSystem.ProcessFiltering.BITNESS_64
Only incude 64-bit processes.static final Comparator<OSProcess>
OperatingSystem.ProcessSorting.CPU_DESC
Sort by decreasing cumulative CPU percentagestatic final Comparator<OSProcess>
OperatingSystem.ProcessSorting.NAME_ASC
Sort by Process Name (case insensitive)OperatingSystem.ProcessFiltering.NO_PARENT
Exclude child processes.static final Comparator<OSProcess>
OperatingSystem.ProcessSorting.NO_SORTING
No sortingstatic final Comparator<OSProcess>
OperatingSystem.ProcessSorting.PARENTPID_ASC
Sort by Parent Process Idstatic final Comparator<OSProcess>
OperatingSystem.ProcessSorting.PID_ASC
Sort by Process Idstatic final Comparator<OSProcess>
OperatingSystem.ProcessSorting.RSS_DESC
Sort by decreasing Resident Set Size (RSS)static final Comparator<OSProcess>
OperatingSystem.ProcessSorting.UPTIME_ASC
Sort by up time, newest processes firststatic final Comparator<OSProcess>
OperatingSystem.ProcessSorting.UPTIME_DESC
Sort by up time, oldest processes firstOperatingSystem.ProcessFiltering.VALID_PROCESS
Exclude processes withOSProcess.State.INVALID
process state.Methods in oshi.software.os that return OSProcessModifier and TypeMethodDescriptiondefault OSProcess
OperatingSystem.getCurrentProcess()
Gets the current process.OperatingSystem.getProcess
(int pid) Gets information on a currently running processMethods in oshi.software.os that return types with arguments of type OSProcessModifier and TypeMethodDescriptionOperatingSystem.getChildProcesses
(int parentPid, Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) Gets currently running child processes of provided parent PID, optionally filtering, sorting, and limited to the top "N".OperatingSystem.getDescendantProcesses
(int parentPid, Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) Gets currently running processes of provided parent PID's descendants, including their children, the children's children, etc., optionally filtering, sorting, and limited to the top "N".OperatingSystem.getProcesses()
Gets currently running processes.OperatingSystem.getProcesses
(Collection<Integer> pids) Gets information on aCollection
of currently running processes.OperatingSystem.getProcesses
(Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) Gets currently running processes, optionally filtering, sorting, and limited to the top "N".Methods in oshi.software.os with parameters of type OSProcessModifier and TypeMethodDescriptiondouble
OSProcess.getProcessCpuLoadBetweenTicks
(OSProcess proc) Gets CPU usage of this process since a previous snapshot of the same process, provided as a parameter.Method parameters in oshi.software.os with type arguments of type OSProcessModifier and TypeMethodDescriptionOperatingSystem.getChildProcesses
(int parentPid, Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) Gets currently running child processes of provided parent PID, optionally filtering, sorting, and limited to the top "N".OperatingSystem.getChildProcesses
(int parentPid, Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) Gets currently running child processes of provided parent PID, optionally filtering, sorting, and limited to the top "N".OperatingSystem.getDescendantProcesses
(int parentPid, Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) Gets currently running processes of provided parent PID's descendants, including their children, the children's children, etc., optionally filtering, sorting, and limited to the top "N".OperatingSystem.getDescendantProcesses
(int parentPid, Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) Gets currently running processes of provided parent PID's descendants, including their children, the children's children, etc., optionally filtering, sorting, and limited to the top "N".OperatingSystem.getProcesses
(Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) Gets currently running processes, optionally filtering, sorting, and limited to the top "N".OperatingSystem.getProcesses
(Predicate<OSProcess> filter, Comparator<OSProcess> sort, int limit) Gets currently running processes, optionally filtering, sorting, and limited to the top "N". -
Uses of OSProcess in oshi.software.os.linux
Classes in oshi.software.os.linux that implement OSProcessMethods in oshi.software.os.linux that return OSProcessMethods in oshi.software.os.linux that return types with arguments of type OSProcessModifier and TypeMethodDescriptionLinuxOperatingSystem.queryAllProcesses()
LinuxOperatingSystem.queryChildProcesses
(int parentPid) LinuxOperatingSystem.queryDescendantProcesses
(int parentPid) -
Uses of OSProcess in oshi.software.os.mac
Classes in oshi.software.os.mac that implement OSProcessMethods in oshi.software.os.mac that return OSProcessMethods in oshi.software.os.mac that return types with arguments of type OSProcessModifier and TypeMethodDescriptionMacOperatingSystem.queryAllProcesses()
MacOperatingSystem.queryChildProcesses
(int parentPid) MacOperatingSystem.queryDescendantProcesses
(int parentPid) -
Uses of OSProcess in oshi.software.os.unix.aix
Classes in oshi.software.os.unix.aix that implement OSProcessMethods in oshi.software.os.unix.aix that return OSProcessMethods in oshi.software.os.unix.aix that return types with arguments of type OSProcessModifier and TypeMethodDescriptionAixOperatingSystem.queryAllProcesses()
AixOperatingSystem.queryChildProcesses
(int parentPid) AixOperatingSystem.queryDescendantProcesses
(int parentPid) -
Uses of OSProcess in oshi.software.os.unix.freebsd
Classes in oshi.software.os.unix.freebsd that implement OSProcessMethods in oshi.software.os.unix.freebsd that return OSProcessMethods in oshi.software.os.unix.freebsd that return types with arguments of type OSProcessModifier and TypeMethodDescriptionFreeBsdOperatingSystem.queryAllProcesses()
FreeBsdOperatingSystem.queryChildProcesses
(int parentPid) FreeBsdOperatingSystem.queryDescendantProcesses
(int parentPid) -
Uses of OSProcess in oshi.software.os.unix.openbsd
Classes in oshi.software.os.unix.openbsd that implement OSProcessMethods in oshi.software.os.unix.openbsd that return OSProcessMethods in oshi.software.os.unix.openbsd that return types with arguments of type OSProcessModifier and TypeMethodDescriptionOpenBsdOperatingSystem.queryAllProcesses()
OpenBsdOperatingSystem.queryChildProcesses
(int parentPid) OpenBsdOperatingSystem.queryDescendantProcesses
(int parentPid) -
Uses of OSProcess in oshi.software.os.unix.solaris
Classes in oshi.software.os.unix.solaris that implement OSProcessMethods in oshi.software.os.unix.solaris that return OSProcessMethods in oshi.software.os.unix.solaris that return types with arguments of type OSProcessModifier and TypeMethodDescriptionSolarisOperatingSystem.queryAllProcesses()
SolarisOperatingSystem.queryChildProcesses
(int parentPid) SolarisOperatingSystem.queryDescendantProcesses
(int parentPid) -
Uses of OSProcess in oshi.software.os.windows
Classes in oshi.software.os.windows that implement OSProcessMethods in oshi.software.os.windows that return OSProcessMethods in oshi.software.os.windows that return types with arguments of type OSProcessModifier and TypeMethodDescriptionWindowsOperatingSystem.getProcesses
(Collection<Integer> pids) WindowsOperatingSystem.queryAllProcesses()
WindowsOperatingSystem.queryChildProcesses
(int parentPid) WindowsOperatingSystem.queryDescendantProcesses
(int parentPid)