On UNIX systems, the sm_service show action displays previously installed services and their status.
The syntax for the action is as follows. You must type this command with administrative privileges:
sm_service show <name> [<name> ...]
The show action has one option:
When the action is used with its --cmdline option, it displays the sm_service command line that installed the program as a service. The command line can be reproduced and used for installing the requested service(s) on another system.
In the absence of the --cmdlineoption, the show action displays the status of the named service (or all services, when <name> is not given), including:
Whether the service is running
The name of the service
A brief description of the service