list prints the list of all instances of the current workspace user logged in
into. The output table contains:
- instance ID
- number of CPUs and GiB of memory allocated to the instance
- instance architecture (amd64 or arm64)
- created time
- time to live
- instance purpose (e.g. created manually or from CI)
Usage
Example
The following example prints the list of instance in a human-friendly format:Output
ovkbmemc7qbp2 (the second on the list) has
16 CPUs and 32 GiB of memory, architecture amd64, was created 5 minutes ago and
from the GitHub Actions Run 4797424935 of repository namespacelabs/foundation,
and has 3 hours time to live.
The json output contains more information. You can use
jq to print a specific field.
To print the list in a machine-friendly format, use -o json CLI flag.
Output
Options
—output, -o <type>
Specifyinglist command output format. Supported options are json and
plain. By default plain output format is used.