Utility Commands¶
Utility and helper commands for VM management and monitoring.
Overview¶
Utility commands provide helpful tools for monitoring, updating, file operations, and system administration across your VM fleet.
Available Commands¶
Monitoring¶
- azlin w - Run 'w' command on all VMs (who's logged in)
- azlin ps - Run 'ps aux' on all VMs (process listing)
- azlin top - Real-time distributed system monitoring
- azlin cost - Show cost estimates for VMs
File Operations¶
- azlin sync - Sync ~/.azlin/home/ to VM home directory
- azlin cp - Copy files between local machine and VMs
VM Maintenance¶
- azlin update - Update all development tools on a VM
- azlin os-update - Update OS packages on a VM
- azlin prune - Prune inactive VMs based on age and idle time
Development Tools¶
- azlin code - Launch VS Code with Remote-SSH for a VM
- azlin help - Show help for commands
Quick Start¶
Monitoring¶
# Who's logged in
azlin w
# Running processes
azlin ps
# Real-time monitoring
azlin top
# Cost estimates
azlin cost --by-vm
File Operations¶
# Sync files to VM
azlin sync my-vm
# Copy specific files
azlin cp local-file.txt my-vm:~/remote-file.txt
azlin cp my-vm:~/data.json ./local-data.json
Maintenance¶
# Update development tools
azlin update my-vm
# Update OS packages
azlin os-update my-vm
# Clean up old VMs
azlin prune --older-than 30 --dry-run
Related Commands¶
- Batch Commands - Multi-VM operations
- Fleet Management - Distributed operations