Skip to Content
CLIStart

Start and stop the agent

After enrollment, use the short lifecycle commands:

cmdop start cmdop status cmdop restart cmdop stop

cmdop start starts the agent on this machine and waits for a connection result. It does not open a terminal on another machine; use cmdop connect for that.

The equivalent long forms are cmdop agent start, cmdop agent status, cmdop agent restart, and cmdop agent stop.

For troubleshooting, run the agent in the foreground:

cmdop start --foreground

For a long-running host that should start Cmdop after reboot, see the installed platform’s service options:

cmdop service install cmdop service status

Run cmdop service --help before automation because supported service scope and options depend on the host operating system.