juju status¶
See also: machines, show-model, show-status-log, storage
Summary¶
Report the status of the model, its machines, applications and units.
Options¶
Flag |
Default |
Usage |
|---|---|---|
|
false |
Do not use web browser for authentication |
|
false |
Use ANSI color codes in tabular output |
|
tabular |
Specify output format (json|line|oneline|short|summary|tabular|yaml) |
|
false |
Same as |
|
Model to operate in. Accepts [<controller name>:]<model name>|<model UUID> |
|
|
false |
Disable ANSI color codes in tabular output |
|
Specify an output file |
|
|
false |
Show relations section in tabular output |
|
3 |
Number of times to retry API failures |
|
100ms |
Time to wait between retry attempts |
|
false |
Show storage section in tabular output |
|
false |
Display timestamps in the UTC timezone |
Examples¶
Include information about storage and relations in output:
juju status --storage --relations
Provide output as valid JSON:
juju status --format=json
Details¶
Report the model’s status including its machines, applications and units.
Altering the output format¶
The --format option allows you to specify how the status report is formatted.
--format=tabular(default): Displays information about all aspects of the model in a human-centric manner. Omits some information by default. Use the--relationsand--storageoptions to include all available information.--format=line,--format=short,--format=oneline: Reports information from units. Includes their IP address, open ports and the status of the workload and agent.--format=summary: Reports aggregated information about the model. Includes a description of subnets and ports that are in use, the counts of applications, units, and machines by status code.--format=json,--format=yaml: Provides information in aJSONorYAMLformat for programmatic use.