views:

17

answers:

1

Hi to All,

Is there a way to detect running services on a client machine using Java? I need to detect a specific running application and it's status (enabled or disabled) and execute something on my application once the running service is detected and enabled.

A little research on my part has come to extent that I have 2 options:

1) Applet and use Sigar-API. 2) VBScript to access client specific process via markup language (HTML).

This alone I think could solve the detection of the service, yet the real problem is detecting its status (enabled or disabled).

You're help will really be appreciated. :)

A: 

Could you use system calls to the underline OS? something like this but using 'ps'?

Josmas