On SunOS there is pargs command that prints the command line arguments passed to the running process.
pargs
Is there is any similar command on other Unix env
try ps -n in a linux terminal. This will show:
ps -n
1.All processes RUNNING, their command line and their PIDs
Afterwards you will know which process to kill