Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5745

UIMA-DUCC: refactor agent code which collects user processes

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: future-DUCC
    • Component/s: DUCC
    • Labels:
      None

      Description

      Agent collects node processes in multiple classes:

      CGroupsManager.java

      NodeMemInfoCollector.java

      NodeUsersCollector.java

      The processes are collected by exec'ing OS 'ps ..' command and scraping the output.

      Refactor to use a single helper class to collect process info and make it available as a list to the above classes. This would hide the algorithm for obtaining process info from client classes as well as remove duplicated code.

        Attachments

          Activity

            People

            • Assignee:
              cwiklik Jaroslaw Cwiklik
              Reporter:
              cwiklik Jaroslaw Cwiklik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: