Previous Topic

Next Topic

Book Contents

Book Index

Stopping the Services Configuration Agent example

In this example, we want to stop the services configuration agent on a particular instance running on Microsoft Windows.

To stop the Services Configuration Agent on Windows:

  1. Find the service instance name by typing the following:

    services-cli -st

    The following appears:

    Services Configuration Agent (services-configuration-agent) : 45bef625

    Desired state = Up : Actual state = Up

  2. To view all the commands that are supported by the services configuration agent, type the following:

    services-cli -c help -s services-configuration-agent -i 45bef625

    The following appears:

    {

    "RESPONSE": "

    Commands:\r

    set-desired-state Set a service or services desired state

    help Display service available commands\r

    pstack Display the stack trace of threads\r

    stop Stop the service\r

    diagl Set the logging level

    Run 'help COMMAND' for more information on a command.

    "

    }

  3. To stop the the service type the following:

    services-cli -c stop -s services-configuration-agent -i 45bef625

    NOTE: To stop all Services configuration agents, type: services-cli -stop -s services-configuration-agent

Parent Topic

services-cli