I want to get Application(Apache Server, MySQL Server...etc) Running Process Status using java(Any API).
I can use Runtime.exec("tasklist") to get Running Process Informations. For tomcat Server the process name would be tomcat5.exe. So i can easily match the string with running process to get application is running or not But if i load tomcat server in Eclipse means the process name might javaw.exe in Tasklist.
So i can not use Runtime.exec("tasklist") for this case.