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/smarts directory are stopped:

sm_service isstopped --pattern '
            BASEDIR/smarts
         /*'

This example checks if all Managers are stopped:

sm_service isstopped --pattern '*sm_server*'