Skip to content

Start, stop, pause and manage an SVM

Usage

Terminal window
si svm [OPTIONS] <COMMAND>

Flags

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm start

Wake an SVM

Terminal window
si svm start [OPTIONS] [SVM]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm stop

Stop an SVM; retain its disk

Terminal window
si svm stop [OPTIONS] [SVM]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm pause

Pause an SVM; retain its processes

Terminal window
si svm pause [OPTIONS] [SVM]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm wait

Wait until the node of an SVM reports a state for its generation

Terminal window
si svm wait [OPTIONS] --state <STATE> --generation <GENERATION> [SVM]
NameValueDescriptionDefaultEnv
svmSVMThe SVM whose observed state to wait for; omit it for the default SVM

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--staterequiredSTATEThe observed state to wait for
--generationrequiredGENERATIONThe generation whose state to observe: the generation of the last answer
--timeoutTIMEOUTThe deadline in seconds, 1 to 60; 30 by default
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm sleep

Print the sleep policy of an SVM; set it to auto, on or timer with a duration after the mode

Terminal window
si svm sleep [OPTIONS] <SVM> [MODE] [DURATION]
NameValueDescriptionDefaultEnv
svmrequiredSVMThe SVM whose sleep policy to show or change
modeMODEauto sleeps when the workload is idle; timer ignores background work; on never sleeps
durationDURATIONThe inactivity of timer mode, as 30m, 2h or seconds

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

Terminal window
Examples:
si svm sleep build-1
si svm sleep build-1 auto
si svm sleep build-1 on
si svm sleep build-1 timer 30m

si svm github

Print the GitHub connection of an SVM; attach one by id or account, or remove it with off

Terminal window
si svm github [OPTIONS] <SVM> [CONNECTION]
NameValueDescriptionDefaultEnv
svmrequiredSVMThe SVM whose GitHub connection to show or change
connectionCONNECTIONA connection id or GitHub account to attach, or off to remove it

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

Terminal window
Examples:
si svm github build-1
si svm github build-1 octo-org
si svm github build-1 off

si svm desktop

Print the address of the remote desktop of an SVM; the first visit starts the desktop

Terminal window
si svm desktop [OPTIONS] [SVM]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

Terminal window
The page is noVNC on port 6080 of the SVM; members of its organization sign in once in the browser.

si svm svc

Add, list, start, stop and read the services of an SVM

Terminal window
si svm svc [OPTIONS] [SVM] <COMMAND>
NameValueDescriptionDefaultEnv
svmSVMThe SVM whose services to manage; omit it for the default SVM

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm svc add

Add a service and start it; the command starts after --

Terminal window
si svm svc add [OPTIONS] <NAME> -- <PROGRAM>...
NameValueDescriptionDefaultEnv
namerequiredNAMEThe name of the service: letters, digits, - and _
programrequiredPROGRAMThe program and its arguments

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--portPORTThe TCP port the service listens on; a preview waits while it is starting
--needsNEEDSStart after these services are running, as A,B
--dirDIRThe working directory of the program; the user's home by default
--envKEY=VALUEA variable of the service, as KEY=VALUE; repeat it
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

Terminal window
Examples:
si svm svc add web --port 3000 -- npm start
si svm svc add api --needs db --env DEBUG=1 -- python3 server.py

si svm svc ls

List the services: name, state, pid, restarts and port

Terminal window
si svm svc ls [OPTIONS]
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm svc start

Start a service now and after every wake

Terminal window
si svm svc start [OPTIONS] <NAME>
NameValueDescriptionDefaultEnv
namerequiredNAMEThe service name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm svc stop

Stop a service; it stays stopped across a sleep

Terminal window
si svm svc stop [OPTIONS] <NAME>
NameValueDescriptionDefaultEnv
namerequiredNAMEThe service name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm svc restart

Stop a service and start it again

Terminal window
si svm svc restart [OPTIONS] <NAME>
NameValueDescriptionDefaultEnv
namerequiredNAMEThe service name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm svc rm

Delete a service and stop it

Terminal window
si svm svc rm [OPTIONS] <NAME>
NameValueDescriptionDefaultEnv
namerequiredNAMEThe service name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm svc logs

Print the log of a service

Terminal window
si svm svc logs [OPTIONS] <NAME>
NameValueDescriptionDefaultEnv
namerequiredNAMEThe service name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--followFollow the log as it growsfalse
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm schedule

Add, list, run and delete cron schedules of an SVM

Terminal window
si svm schedule [OPTIONS] <COMMAND>
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm schedule add

Add a schedule that runs a command or puts a message into the inbox

Terminal window
si svm schedule add [OPTIONS] --name <NAME> --cron <CRON> [SVM] [-- <COMMAND>...]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to schedule; omit it for the default SVM
commandCOMMANDThe command to run, after --

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--namerequiredNAMEThe name of the schedule: lowercase letters, digits and -, unique per SVM
--cronrequiredCRONA five-field cron; its two next fires must be at least the plan minimum apart
--tzTZAn IANA timezone; UTC by default
--timeoutTIMEOUTThe time limit of the command, in seconds
--inbox-subjectSUBJECTThe subject of an inbox message; use with --inbox-text instead of a command
--inbox-textTEXTThe text of an inbox message
--concurrencyCONCURRENCYskip refuses a fire while the previous run still runs; allow starts bothskip
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

Terminal window
Examples:
si svm schedule add build-1 --name nightly --cron '0 3 * * *' --tz Europe/Berlin -- make backup
si svm schedule add --name digest --cron '0 9 * * 1' --inbox-subject Digest --inbox-text 'The week starts'

si svm schedule ls

List the schedules of an SVM with their next fire

Terminal window
si svm schedule ls [OPTIONS] [SVM]
NameValueDescriptionDefaultEnv
svmSVMThe SVM whose schedules to list; omit it for the default SVM

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm schedule rm

Delete a schedule and its run history

Terminal window
si svm schedule rm [OPTIONS] [SVM] [SCHEDULE]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use
scheduleSCHEDULEThe schedule id, from si svm schedule ls

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm schedule run

Run a schedule now without moving its next fire

Terminal window
si svm schedule run [OPTIONS] [SVM] [SCHEDULE]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use
scheduleSCHEDULEThe schedule id, from si svm schedule ls

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm schedule runs

List the last runs of a schedule, newest first

Terminal window
si svm schedule runs [OPTIONS] [SVM] [SCHEDULE]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use
scheduleSCHEDULEThe schedule id, from si svm schedule ls

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm schedule enable

Turn the minute tick on for a schedule

Terminal window
si svm schedule enable [OPTIONS] [SVM] [SCHEDULE]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use
scheduleSCHEDULEThe schedule id, from si svm schedule ls

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm schedule disable

Turn the minute tick off for a schedule; its next fire stays stored

Terminal window
si svm schedule disable [OPTIONS] [SVM] [SCHEDULE]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use
scheduleSCHEDULEThe schedule id, from si svm schedule ls

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm inbox

Show or change the email inbox of an SVM

Terminal window
si svm inbox [OPTIONS] [SVM]
si svm inbox <COMMAND>
NameValueDescriptionDefaultEnv
svmSVMThe SVM whose inbox to show; omit it when a subcommand follows

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm inbox enable

Turn the inbox on; the senders of its rule may then mail the SVM

Terminal window
si svm inbox enable [OPTIONS] [SVM]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm inbox disable

Turn the inbox off; mail to it is rejected at SMTP

Terminal window
si svm inbox disable [OPTIONS] [SVM]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm inbox senders

Set the senders that may mail the SVM: any by default, or the exact addresses that are allowed

Terminal window
si svm inbox senders [OPTIONS] [SVM]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--noneRefuse every senderfalse
--allowADDRESSAn exact sender address that may mail the SVM; repeat it
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm inbox webhook

Set or remove the webhook that receives each message

Terminal window
si svm inbox webhook [OPTIONS] [SVM] [URL]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use
urlURLThe HTTPS URL that receives each message as a POST

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--removeRemove the webhook instead of setting onefalse
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm inbox telegram

Connect a Telegram bot to the inbox, pair a user or set the allowed users

Terminal window
si svm inbox telegram [OPTIONS] [SVM] <COMMAND>
NameValueDescriptionDefaultEnv
svmSVMThe SVM whose bot to manage; omit it for the default SVM

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm inbox telegram connect

Connect a bot; the token comes from a file or standard input, never from a command-line argument

Terminal window
si svm inbox telegram connect [OPTIONS]
NameValueDescriptionDefaultEnv
--token-fileFILEThe file that holds the bot token; without it the token is read from standard input
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm inbox telegram disconnect

Remove the bot, its webhook and its token

Terminal window
si svm inbox telegram disconnect [OPTIONS]
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm inbox telegram pair

Make a new pairing code: the user sends `/start <code>` to the bot

Terminal window
si svm inbox telegram pair [OPTIONS]
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm inbox telegram users

Replace the numeric Telegram user ids that may send to the inbox

Terminal window
si svm inbox telegram users [OPTIONS] [ID]...
NameValueDescriptionDefaultEnv
idsIDA numeric Telegram user id; repeat it. Omit all ids to clear the list

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm grant

Mint a scoped SVM API grant to share, or end every grant of an SVM

Terminal window
si svm grant [OPTIONS] <COMMAND>
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si svm grant create

Mint a grant that admits these methods and paths; print its link

Terminal window
si svm grant create [OPTIONS] --method <METHOD> --path <GLOB> [SVM]
NameValueDescriptionDefaultEnv
svmSVMThe SVM that the grant reaches; omit it for the default SVM

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--methodrequiredMETHODAn HTTP method that the grant admits; repeat it
--pathrequiredGLOBA path glob in the SVM: * stays in one segment, ** crosses them; repeat it
--argVALUEAn exact arg value that a run must carry, in order; repeat it
--ttlDURATIONThe life of the grant, as 1h, 7d or seconds. The default is one hour; the plan caps it
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

Terminal window
Examples:
si svm grant create build-1 --method GET --path '/home/user/out/**'
si svm grant create --method GET --method HEAD --path '/home/user/site/**' --ttl 7d
si svm grant create build-1 --method POST --path /bin/bash --arg -c --arg 'make test'

si svm grant rotate

End every SVM API grant of the SVM: their links answer 401

Terminal window
si svm grant rotate [OPTIONS] [SVM]
NameValueDescriptionDefaultEnv
svmSVMThe SVM whose grants to end; omit it for the default SVM

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.