Class DragonFlyBsdOSThread

java.lang.Object
oshi.software.common.AbstractOSThread
oshi.software.common.os.unix.bsd.BsdOSThread
oshi.software.common.os.unix.dragonflybsd.DragonFlyBsdOSThread
All Implemented Interfaces:
OSThread

@ThreadSafe public class DragonFlyBsdOSThread extends BsdOSThread
OSThread implementation
  • Field Details

    • PS_THREAD_KEYWORDS

      public static final List<BsdPsThreadKeyword> PS_THREAD_KEYWORDS
      Ordered ps thread columns. Shared with DragonFlyBsdOSProcess's thread enumeration so the column list and parsing stay in lockstep. PRI must remain last (the row-complete sentinel).
    • PS_THREAD_COLUMNS

      public static final String PS_THREAD_COLUMNS
  • Constructor Details

    • DragonFlyBsdOSThread

      public DragonFlyBsdOSThread(int processId, Map<BsdPsThreadKeyword, String> threadMap)
    • DragonFlyBsdOSThread

      public DragonFlyBsdOSThread(int processId, int threadId)
  • Method Details

    • psThreadKeywords

      protected List<BsdPsThreadKeyword> psThreadKeywords()
      Description copied from class: BsdOSThread
      Returns this platform's ordered ps thread column keys, used to parse thread rows positionally.
      Specified by:
      psThreadKeywords in class BsdOSThread
      Returns:
      the ordered thread column keys
    • psThreadCommand

      protected String psThreadCommand()
      Description copied from class: BsdOSThread
      Returns the ps command (without the trailing -p <pid>) used to enumerate this process's threads when refreshing a single thread.
      Specified by:
      psThreadCommand in class BsdOSThread
      Returns:
      the ps command prefix