The following provides an example of the sm_service show action.
For the status of a service, type the following with administrative privileges:
BASEDIR/smarts
/bin/sm_service show ic-broker
Output:
RUNNING ic-broker
For the command line of a service, type the following with administrative privileges:
BASEDIR/smarts
/bin/sm_service show --cmdline ic-broker
Output:
sm_service install --force --unmanaged --startmode=runonce\ '--name=ic-broker' \ '--description=VMware Smart Assurance Broker' \ '--env=SM_CLIENTCONNECT=brokerConnect.conf' \ ' BASEDIR/smarts /bin/brstart' \ '--port=426' \ '--restore= BASEDIR/smarts /local/repos/broker/broker.rps' \ '--output'