status
Prev | Directory Server Tools | Next

## Name

status — display basic OpenDJ server information

## Synopsis

`status` {options}

## Description

This utility can be used to display basic server information.

## Options

The status command takes the following options:

Command options:

`--connectTimeout {timeout}`

  Maximum length of time (in milliseconds) that can be taken to establish a connection. Use '0' to specify no time out.

  Default: 30000

LDAP connection options:

`-D | --bindDN {bindDN}`

  DN to use to bind to the server.

  Default: cn=Directory Manager

`-j | --bindPasswordFile {bindPasswordFile}`

  Bind password file.

`-K | --keyStorePath {keyStorePath}`

  Certificate key store path.

`-N | --certNickname {nickname}`

  Nickname of the certificate that the server should use when accepting SSL-based connections or performing StartTLS negotiation.

`-o | --saslOption {name=value}`

  SASL bind options.

`-P | --trustStorePath {trustStorePath}`

  Certificate trust store path.

`-T | --trustStorePassword {trustStorePassword}`

  Certificate trust store PIN.

`-u | --keyStorePasswordFile {keyStorePasswordFile}`

  Certificate key store PIN file. A PIN is required when you specify to use an existing certificate as server certificate.

`-U | --trustStorePasswordFile {path}`

  Certificate trust store PIN file.

`-w | --bindPassword {bindPassword}`

  Password to use to bind to the server. Use -w - to ensure that the command prompts for the password, rather than entering the password as a command argument.

`-W | --keyStorePassword {keyStorePassword}`

  Certificate key store PIN. A PIN is required when you specify to use an existing certificate as server certificate.

`-X | --trustAll`

  Trust all server SSL certificates.

  Default: false

Utility input/output options:

`-n | --no-prompt`

  Use non-interactive mode. If data in the command is missing, the user is not prompted and the tool will fail.

  Default: false

`--noPropertiesFile`

  No properties file will be used to get default command line argument values.

  Default: false

`--propertiesFilePath {propertiesFilePath}`

  Path to the file containing default property values used for command line arguments.

`-r | --refresh {period}`

  When this argument is specified, the status command will display its contents periodically. Used to specify the period (in seconds) between two displays of the status.

`-s | --script-friendly`

  Use script-friendly mode.

  Default: false

General options:

`-V | --version`

  Display Directory Server version information.

  Default: false

`-H | --help`

  Display this usage information.

  Default: false

## Exit Codes

0

  The command completed successfully.

> 0

  An error occurred.

## Examples

    $ status -D "cn=Directory Manager" -w password

              --- Server Status ---
    Server Run Status:        Started
    Open Connections:         1

              --- Server Details ---
    Host Name:                localhost.localdomain
    Administrative Users:     cn=Directory Manager
    Installation Path:        /path/to/opendj
    Version:                  OpenDJ version
    Java Version:             version
    Administration Connector: Port 4444 (LDAPS)

              --- Connection Handlers ---
    Address:Port : Protocol    : State
    -------------:-------------:---------
    --           : LDIF        : Disabled
    8989         : Replication : Enabled
    0.0.0.0:161  : SNMP        : Disabled
    0.0.0.0:636  : LDAPS       : Disabled
    0.0.0.0:1389 : LDAP        : Enabled
    0.0.0.0:1689 : JMX         : Disabled

              --- Data Sources ---
    Base DN:                      dc=example,dc=com
    Backend ID:                   userRoot
    Entries:                      160
    Replication:                  Enabled
    Missing Changes:              0
    Age of Oldest Missing Change: <not available>

    Base DN:     dc=myCompany,dc=com
    Backend ID:  myCompanyRoot
    Entries:     3
    Replication: Disabled

    Base DN:     o=myOrg
    Backend ID:  myOrgRoot
    Entries:     3
    Replication: Disabled

Prev | Up | Next
start-ds | Home | stop-ds