Class OperatingSystem.ProcessSorting

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

public static final class OperatingSystem.ProcessSorting extends Object
  • Field Details

    • NO_SORTING

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

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

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

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

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

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

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

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