Skip to content

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

Development Tools

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

See Also