The following table describes the emsca commands when running the emsca utility:
Command |
Description |
Usage |
---|---|---|
help |
Displays SCA available commands |
emsca help <COMMAND> |
set-desired-state |
Sets the desired state for the service or all services on local machine. The desired state is updated in the yml file located in <EM_HOME>/services/desired_state/ |
emsca set-desired-state [--all] [-s=<serviceName>] <desired-state> desired-state values:
--all: Run command for all services -s, --service=<serviceName> The service name targeted by command |
get-desired-state |
Returns the desired state of a service. |
emsca get-desired-state -s=<serviceName> |
get-current-state |
Returns the current state of a service. |
emsca get-current-state -s=<serviceName> |
service |
Starts the services configuration agent application in a service mode |
emsca service |
services-details |
Returns basic information about the services that are running on the machine, including details such as the PID, timestamp, and state. |
emsca services-details |
status |
Returns the services state on current machine. Retrieved values:
|
emsca status |
shutdown |
Shutdown all services including services-config-agent (watch-dog). SCA shutdown gracefully all processes by running the following:
To force shutdown by killing all remaining processes: UNIX: ‘kill -9 <PID>’ |
emsca shutdown [-f] |
Parent Topic |