juju status

Summary

Report the status of the model, its machines, applications and units.

Options

Flag

Default

Usage

-B, --no-browser-login

false

Do not use web browser for authentication

--color

false

Use ANSI color codes in tabular output

--format

tabular

Specify output format (json|line|oneline|short|summary|tabular|yaml)

--integrations

false

Same as --relations

-m, --model

Model to operate in. Accepts [<controller name>:]<model name>|<model UUID>

--no-color

false

Disable ANSI color codes in tabular output

-o, --output

Specify an output file

--relations

false

Show relations section in tabular output

--retry-count

3

Number of times to retry API failures

--retry-delay

100ms

Time to wait between retry attempts

--storage

false

Show storage section in tabular output

--utc

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 --relations and --storage options 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 a JSON or YAML format for programmatic use.