How can I check two process with the same name


Hi all,

I’m trying to check two process with the same name, but with different path.

For example:


I tried to use the CHECK_NT creating two different services:

1# $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v PROCSTATE -l "C:\JAVA\JAVA.EXE"
2# $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v PROCSTATE -l “C:\JAVA_01\JAVA.EXE”

But it is show me the message "Process UNKNOWN 06-24-2009 14:36:01 0d 0h 1m 28s 1/3 Unknown argument: c "

Does anybody know some form of the check two process with same name?


i suspect the : needs to be escaped with a \ and possibly the \ itslef too…
that could become something like “c:\java\java.exe”


Hi Lucca,

I tried to use your suggest it:

$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v PROCSTATE -d SHOWALL “c:\java\java.exe”

But this message was shown.

test Process UNKNOWN 06-24-2009 17:05:38 0d 0h 6m 16s 3/3 "Unknown argument: c "

Do you have another idea?

Thank’s for your help.


why is there no -l parameter?