watch

limactl watch

Watch events from instances

Synopsis

Watch events from Lima instances.

Events include status changes (starting, running, stopping), port forwarding
events, and other instance lifecycle events.

If no instance is specified, events from all instances are watched,
including newly created instances.

The command will continue watching until interrupted (Ctrl+C).

limactl watch [INSTANCE]... [flags]

Examples

  # Watch events from all instances:
  $ limactl watch

  # Watch events from a specific instance:
  $ limactl watch default

  # Include historical events:
  $ limactl watch --history default

  # Show verbose output (host agent logs, etc.):
  $ limactl watch --verbose

  # Watch events in JSON format (for scripting):
  $ limactl watch --json default

Options

  -h, --help      help for watch
      --history   Include historical events from before watch started
      --json      Output events as newline-delimited JSON
      --verbose   Show verbose output

Options inherited from parent commands

      --debug               Debug mode
      --log-format string   Set the logging format [text, json] (default "text")
      --log-level string    Set the logging level [trace, debug, info, warn, error]
      --tty                 Enable TUI interactions such as opening an editor. Defaults to true when stdout is a terminal. Set to false for automation.
  -y, --yes                 Alias of --tty=false

SEE ALSO

  • limactl - Lima: Linux virtual machines