Command-Line Tool (slmcli)
slmcli sends commands to a running SLM over CII/MAL and prints the reply. It
is a self-contained tool and does not require the GUI.
Selecting the server
Provide either an explicit --uri or a registered --name (resolved via
Nomad, then Consul). Common options:
Option |
Meaning |
|---|---|
|
service URI, e.g. |
|
registered name if |
|
Nomad namespace |
|
request timeout in milliseconds |
Subcommands
run/stop—RunSlm/StopSlm.close,open,suspend,resume— take one or more loop indices.status— conciseState:Substate;state— full state path.init,enable,disable,reset— standard commands.
Examples
slmcli --uri zpb.rr://127.0.0.1:12091 status
slmcli --uri zpb.rr://127.0.0.1:12091 run
slmcli --uri zpb.rr://127.0.0.1:12091 close 1 2
slmcli --uri zpb.rr://127.0.0.1:12091 open 1
slmcli --name slm-req stop
slmcli --help and slmcli <subcommand> --help describe the options; help
works without a running server.