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:
services-cli -st
The following appears:
Services Configuration Agent (services-configuration-agent) : 45bef625
Desired state = Up : Actual state = Up
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.
"
}
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 |