# sdm ready

```shell
NAME:
   sdm ready - reports if the listener is ready for use.

USAGE:
   sdm ready [command options] [datasource name]

DESCRIPTION:
   sdm ready reports if the listener is ready for use.

        This command returns a detailed view on whether the StrongDM client is
    ready to serve connections. It uses the binary combination of the following
    codes to indicate what could be wrong:

        255    indicates that some internal error has happened and it cannot assert readiness.
          1    the StrongDM listener is not running.
          2    the StrongDM listener did not load its internal state yet or the user is not logged in.
          4    the StrongDM listener is not yet connected to a gateway.
          8    datasource name does not match any of the known datasources for the logged in account.
         16    there is not a gateway with a possible route to the chosen datasource.
         32    the chosen datasource is not connected.


OPTIONS:
   --quiet, -q  do not print the details in the standard error
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.strongdm.com/references/cli/ready.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
