View Single Post
  #2 (permalink)  
Old 12-07-2007, 10:56 PM
Programmist Programmist is offline
Member
 
Join Date: Nov 2007
Posts: 7
Programmist is on a distinguished road
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.
Reply With Quote