跳到主要内容

Machine Configuration Command: machine

List All Machine Configurations: list

Command Entry:

bohr machine list

Summary:

Usage:
bohr machine list [flags]

Aliases:
list, -ls

Flags:
-c, --chooseType string cpu or gpu (default "cpu")
--csv output with CSV format
-h, --help help for list
--json output with JSON format
--noheader does not print header information
-s, --scene string job or node or notebook (default "job")
--yaml output in YAML format

Parameter description:

ParameterAbbreviationDescriptionRequired
--chooseType-cSpecify machine type: cpu or gpu (default is cpu)No
--scene-sChoose usage scenario: job, node, or notebook (default is job)No

Example:

bohr machine list -c "gpu" --yaml 
# Display all GPU machine configurations and output in YAML format
bohr machine list -s "node"
# Display all machine types that support container node launching

bohr machine list