|
As far as I know there is no pure Java way of doing this. You will probably need to look into JNI. You might also be able to use Runtime.getRuntime().execute(String cmd) to call some system command that will return a list of process. Then you can parse the list for the process you want. On unix, the command is "ps", but on Windows I'm not sure.
|