Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-107830

Add call to return non-idle processes

    XMLWordPrintable

    Details

      Description

      This is mostly for TC benefit.

      • Need to filter out:
        • Anything using less than 0.1% CPU/memory
        • Any process with “idle” as the command
      • For each process, we only keep the following (also to reduce size):
        • command
        • jail-id (if available) [for FreeBSD only, obviously, we may need to backport to 12.0 eventually so lets keep it work on both platforms]
        • percent-cpu
        • percent-memory
        • threads
        • pid

      Need to evaluate if its better to use psutil or ps command.

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                vladimirv Vladimir Vinogradenko
                Reporter:
                william William Grzybowski
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: