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();
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!