vers status
Displays the status of all clusters by default. Use -c flag for specific cluster details, or provide a VM ID or alias as argument for VM-specific status.Usage
Options
| Option | Description |
|---|---|
--cluster, -c | Cluster ID or alias to show detailed status for |
Examples
Show all clusters (default)
Show specific cluster details
Show specific VM details
How it works
Thestatus command has three modes:
Default mode (no arguments)
- Shows HEAD status: Displays current HEAD VM and its state
- Lists all clusters: Shows cluster names, root VMs, and VM counts
- Provides navigation tips: Suggests next commands to explore
Cluster mode (-c flag)
- Resolves cluster: Finds cluster by ID or alias
- Shows cluster details: Displays cluster info and VM count
- Lists all VMs: Shows each VM’s name and state
VM mode (VM argument)
- Resolves VM: Finds VM by ID or alias
- Shows VM details: Displays VM name, state, and cluster
- Provides cluster tip: Suggests viewing the containing cluster
HEAD status variations
Normal HEAD with running VM
HEAD with VM alias
No .vers repository
Empty HEAD
HEAD verification failed
Output format
Cluster list format
- Cluster name: Shows alias if available, otherwise cluster ID
- Root VM: Shows VM alias if available, otherwise VM ID
- VM count: Total number of VMs in the cluster
VM list format
- VM name: Shows alias if available, otherwise VM ID
- State: Current VM state (Running, Paused, Stopped, etc.)
Error handling
Cluster not found
VM not found
No clusters exist
API failures
Use cases
Environment overview
VM monitoring
Navigation and discovery
Debugging
Prerequisites
- For cluster/VM details: Network connectivity to query API
- For HEAD status:
.versdirectory (optional, shows warning if missing)
See Also
- vers tree - Visual representation of VM relationships
- vers up - Create clusters when none exist
- vers connect - Connect to running VMs