NAME
stat — show VM
details
SYNOPSIS
ssh |
chroot.dev stat name
[--json] |
DESCRIPTION
stat shows the status, addresses, ssh and
HTTPS access, integrations, image, cpus, memory and disk use of one VM.
ip is the VM's
private IPv4; outbound IPv4 leaves from an address shared by all VMs.
ipv6 is
its public IPv6 address, reachable from the internet; see
chroot.dev(7). When the image has
a newer OpenBSD than the VM, the image line says “upgrade
available”, and after an
upgrade(1) a line shows its date and
result.
A “failed” VM shows why, when, and a reference to report.
A running VM also shows the memory it takes on the host and its peak, cpu time and the part throttled at its cpu limit, and disk and network I/O since it started.
Last comes the VM's traffic this month (UTC), in and out, then the account's, all its VMs together, against the plan's quota, and the rate the VM has now; past the quota the line says so.
EXAMPLES
$ ssh chroot.dev stat web --json | jq -r .status $ ssh puffy@$(ssh chroot.dev stat web --json | jq -r .ip6) $ ssh chroot.dev stat web --json | jq .account_traffic_month_bytes
SEE ALSO
billing(1), log(1), ls(1), share(1), upgrade(1), chroot.dev(7)