osmo resource#

usage: osmo resource [-h] {list,info} ...

Positional Arguments#

command

Possible choices: list, info

Sub-commands#

list#

Resource display formats:

Mode           | Description
---------------|----------------------------------------------------
Used (default) | Shows "used/total" (e.g., 40/100 means 40 Gi used
               | out of 100 Gi total memory)
Free           | Shows available resources as a single number
               | (e.g., 60 means 60 Gi of memory is available for use)

This applies to all allocatable resources: CPU, memory, storage, and GPU.

osmo resource list [-h] [--pool POOL [POOL ...]] [--platform PLATFORM [PLATFORM ...]] [--all] [--format-type {json,text}] [--mode {free,used}]

Named Arguments#

--pool, -p

Display resources for specified pool.

Default: []

--platform

Display resources for specified platform.

Default: []

--all, -a

Show all resources from all pools.

Default: False

--format-type, -t

Possible choices: json, text

Specify the output format type (Default text).

Default: 'text'

--mode, -m

Possible choices: free, used

Show free or used resources (Default used).

Default: 'used'

info#

Get resource allocatable and configurations of a node.

osmo resource info [-h] [--pool POOL] [--platform PLATFORM] node_name

Positional Arguments#

node_name

Name of node.

Named Arguments#

--pool, -p

Specify the pool to see specific allocatable and configurations.

--platform, -pl

Specify the platform to see specific allocatable and configurations.