public List<NodePidList> getUserProcesses(List<String> nodeList, String user) {
List<NodePidList> nodePidListList = new ArrayList<NodePidList>();
for(String node : nodeList) {
List<String> pids = getPids(new NodeId(node), new UserId(user));
NodePidList nodePidList = new NodePidList(node, pids);
nodePidListList.add(nodePidList);
}
return nodePidListList;
}