//ok
}
}
public void testCreate() throws Exception {
Sigar sigar = getSigar();
try {
printModules(sigar, getInvalidPid());
} catch (SigarException e) {
}
try {
printModules(sigar, sigar.getPid());
} catch (SigarNotImplementedException e) {
return;
}
long[] pids = sigar.getProcList();
for (int i=0; i<pids.length; i++) {
try {
printModules(sigar, pids[i]);
} catch (SigarException e) {