Use the following command to stop the Gateway:
/gateway-install-root/SUNWps/bin/gateway stop
This command stops all the Gateway instances that are running on that particular host.
Run the following command to check that the Gateway processes are no longer running:
/usr/bin/ps -ef | entsys