When experiencing networking problems on client machines, I\'d like to be able to run a few command lines and email the results of them to myself.
I\'ve found Runtim
Runtime.exec() returns a Process object, from which you can extract the output of whatever command you ran.