RMG,
Let us say,mws script is mws.sh by passing parameters based on the nodes it does start corresponding instance.
var=ps -eaf |grep mws.sh
or
Let us say, we are running mws.sh with some user ‘x’ then we can use the below logic :
var1=ps -eaf |grep -i 'x' |grep -v grep
Now based on var/var1 we can implement our logic.
Please let me know if still any voice on this.
Thanks,
#webMethods#Integration-Server-and-ESB