The isstopped action for sm_service exits with a non-zero status if any of the requested set of services are not running.

Isstopped options for sm_service lists the options for the isstopped action.

Table 1. Isstopped options for sm_service

Options

Description

<name> [<name>...]

Return status for specified processes

--all

Return the status of all processes.

--pattern=

Return the status of all processes with absolute paths that match the wildcard pattern.