9.13.2. Listing all virtual machine instances using the CLI
You can list all virtual machine instances (VMIs) in your cluster, including standalone VMIs and those owned by virtual machines, by using the OpenShift CLI (oc).
Prerequisites
-
You have installed the OpenShift CLI (
oc).
Procedure
List all VMIs by running the following command:
$ oc get vmis -A