1---
2layout: "docs"
3page_title: "status - Command"
4sidebar_title: "<code>status</code>"
5sidebar_current: "docs-commands-status"
6description: |-
7  The "status" command prints the current state of Vault including whether it is
8  sealed and if HA mode is enabled. This command prints regardless of whether
9  the Vault is sealed.
10---
11
12# status
13
14The `status` command prints the current state of Vault including whether it is
15sealed and if HA mode is enabled. This command prints regardless of whether the
16Vault is sealed.
17
18The exit code reflects the seal status:
19
20- 0 - unsealed
21- 1 - error
22- 2 - sealed
23
24## Examples
25
26Check the status:
27
28```text
29$ vault status
30Sealed: false
31Key Shares: 5
32Key Threshold: 3
33Unseal Progress: 0
34Unseal Nonce:
35Version: x.y.z
36Cluster Name: vault-cluster-49ffd45f
37Cluster ID: d2dad792-fb99-1c8d-452e-528d073ba205
38
39High-Availability Enabled: false
40```
41
42## Usage
43
44The following flags are available in addition to the [standard set of
45flags](/docs/commands/index.html) included on all commands.
46
47### Output Options
48
49- `-format` `(string: "table")` - Print the output in the given format. Valid
50  formats are "table", "json", or "yaml". This can also be specified via the
51  `VAULT_FORMAT` environment variable.