You would like to automate DCS Agent deployment, and one of the conditions you need to validate is the status of DCS services to confirm if DCS Agent is installed and is in the operation state.
Linux OS
You can use the commands below to verify the status of DCS Agent daemons: