Class NetBsdOSThread

All Implemented Interfaces:
OSThread

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

    • PS_THREAD_KEYWORDS

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

      public static final String PS_THREAD_COLUMNS
  • Constructor Details

    • NetBsdOSThread

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

      public NetBsdOSThread(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