proxy = SigarProxyCache.newInstance(sigar, 30 * 1000);
}
}
String args[] = {"leaktest", "50"};
Proxy cmdProxy = new Proxy(sigar, proxy);
PrintStream ps = new PrintStream(new ByteArrayOutputStream());
if (verbose) {
cmdProxy.setVerbose(true);
cmdProxy.setLeakVerbose(true);
cmdProxy.run(args);
}
else {
cmdProxy.setOutputStream(ps);
}
} catch (SigarException e) {
this.ex = e;
}
}