commands.sh

systemctl list-machines

linux

List the host and all running local virtual machines or containers with their state.

More info →

Examples (4)

Show all machines (host and running containers/VMs)

List a specific machine

List multiple matching machines

systemctl list-machines machine_1 machine_2 ...

Filter machines using wildcard patterns ie, `shell-globbing`

made by @shridhargupta | data from tldr-pages