init
This commit is contained in:
commit
883f31932e
169 changed files with 5676 additions and 0 deletions
13
scripts/vm/status.sh
Executable file
13
scripts/vm/status.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
# Show VM and volume status, plus screen sessions.
|
||||
set -eu
|
||||
. "$(dirname "$0")/env.sh"
|
||||
|
||||
echo "==> Instances"
|
||||
"$QEMU_VM" instance list
|
||||
echo
|
||||
echo "==> Volumes"
|
||||
"$QEMU_VM" volume list
|
||||
echo
|
||||
echo "==> Screen sessions"
|
||||
screen -ls 2>/dev/null | grep -E 'vm-(proxy|idp)' || echo " (none)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue