The following provides examples of the sm_service isstopped actions on UNIX. These examples also show the use of wildcards.
The isstopped action verifies whether all of the services started from the BASEDIR/Smartss directory are stopped:
sm_service isstopped --pattern '
BASEDIR/Smartss
/*'
This example checks if all Managers are stopped:
sm_service isstopped --pattern '*sm_server*'