Jerry Cwiklik created UIMA-5745:
-----------------------------------

             Summary: UIMA-DUCC: refactor agent code which collects user 
processes 
                 Key: UIMA-5745
                 URL: https://issues.apache.org/jira/browse/UIMA-5745
             Project: UIMA
          Issue Type: Improvement
          Components: DUCC
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
             Fix For: future-DUCC


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to