From: Shervin A. <sh...@as...> - 2011-03-14 18:05:18
|
Hi. I am trying to use Sigar for the first time and I want to use the PS class to get information about processes running. Ps ps = new Ps(); ps.processCommand(pidArray); seems to work fine. However it prints the output in PrintStream (Console) How can either change the PrintStream to PrinterWriter or get the output in a list, string or something I can actually check programatically? Thanks for great library! |