Class OperatingSystem.ProcessSorting

java.lang.Object
oshi.software.os.OperatingSystem.ProcessSorting
Enclosing interface:
OperatingSystem

public static final class OperatingSystem.ProcessSorting
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.util.Comparator<OSProcess> CPU_DESC
    Sort by decreasing cumulative CPU percentage
    static java.util.Comparator<OSProcess> NAME_ASC
    Sort by Process Name (case insensitive)
    static java.util.Comparator<OSProcess> NO_SORTING
    No sorting
    static java.util.Comparator<OSProcess> PARENTPID_ASC
    Sort by Parent Process Id
    static java.util.Comparator<OSProcess> PID_ASC
    Sort by Process Id
    static java.util.Comparator<OSProcess> RSS_DESC
    Sort by decreasing Resident Set Size (RSS)
    static java.util.Comparator<OSProcess> UPTIME_ASC
    Sort by up time, newest processes first
    static java.util.Comparator<OSProcess> UPTIME_DESC
    Sort by up time, oldest processes first
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NO_SORTING

      public static final java.util.Comparator<OSProcess> NO_SORTING
      No sorting
    • CPU_DESC

      public static final java.util.Comparator<OSProcess> CPU_DESC
      Sort by decreasing cumulative CPU percentage
    • RSS_DESC

      public static final java.util.Comparator<OSProcess> RSS_DESC
      Sort by decreasing Resident Set Size (RSS)
    • UPTIME_ASC

      public static final java.util.Comparator<OSProcess> UPTIME_ASC
      Sort by up time, newest processes first
    • UPTIME_DESC

      public static final java.util.Comparator<OSProcess> UPTIME_DESC
      Sort by up time, oldest processes first
    • PID_ASC

      public static final java.util.Comparator<OSProcess> PID_ASC
      Sort by Process Id
    • PARENTPID_ASC

      public static final java.util.Comparator<OSProcess> PARENTPID_ASC
      Sort by Parent Process Id
    • NAME_ASC

      public static final java.util.Comparator<OSProcess> NAME_ASC
      Sort by Process Name (case insensitive)