return suite;
}
private void printResult(QHostResult res) {
for (String hostname : res.getHostNames()) {
HostInfo hostInfo = res.getHostInfo(hostname);
logger.fine("Host " + hostname + " ---------------------");
for (String hostValueNames : hostInfo.getHostValueKeys()) {
logger.fine("HostValue: " + hostValueNames + " = " + hostInfo.getHostValue(hostValueNames));
}
for (QueueInfo qi : hostInfo.getQueueList()) {
logger.fine(" Queue: " + qi.getQname());
logger.fine(" Qtype: " + qi.getQtype());
logger.fine(" State: " + qi.getState());
logger.fine(" total: " + qi.getTotalSlots());
logger.fine(" used: " + qi.getUsedSlots());
}
for (String dom : hostInfo.getDominanceSet()) {
for (String resourceValueName : hostInfo.getResourceValueNames(dom)) {
logger.fine("Resource: " + dom + ": " + resourceValueName + " = " + hostInfo.getResourceValue(dom, resourceValueName));
}
}
}
}