docs

ix

ix stop

Stop running VMs

Usage: ix stop [OPTIONS] [VMS]...

Stop running VMs.

The VM stops consuming runtime resources and stays available for ix start; ix rm deletes.

arguments

  • <VMS> VM names from ix ls. Omit when selecting with --node or --idle-since

options

  • --force <FORCE> Hard-stop the VM by killing its runtime cgroup without guest cleanup default: false
  • --node <HOST> Select every running VM placed on this node hostname (the NODE column of ix ls) instead of naming VMs one at a time. Combine with --admin to sweep other owners' VMs off a host
  • --idle-since <DURATION> Select only running VMs whose runtime has been up for at least this long (e.g. 48h, 2d, 30m). This is an uptime bound: with no per-guest activity signal on the control plane, a recently started VM is assumed active and spared. Combine with --node to sweep one host
  • --dry-run <DRY_RUN> Print what would be stopped without stopping anything default: false
  • --output <OUTPUT> Output format one of: human, json default: human
  • --message-format <MESSAGE_FORMAT> Error format one of: human, short, json default: human