Status and Tasks

The status command functions in offline mode, but provides more information with the server is running. The command describes the server’s capabilities, including the ports and disks it uses, and the backends it serves. With the --script-friendly option, the command returns JSON output. The command requires administrative credentials to read a running server’s configuration:

$ status \
 --bindDn uid=admin \
 --bindPassword password \
 --hostname localhost \
 --port 4444 \
 --usePkcs12TrustStore /path/to/opendj/config/keystore \
 --trustStorePassword:file /path/to/opendj/config/keystore.pin \
 --script-friendly

The manage-tasks command lets you manage tasks scheduled on a server, such as regular backup. The command connects to the administration port of a local or remote server:

$ manage-tasks \
 --hostname localhost \
 --port 4444 \
 --bindDN uid=admin \
 --bindPassword password \
 --usePkcs12TrustStore /path/to/opendj/config/keystore \
 --trustStorePassword:file /path/to/opendj/config/keystore.pin \
 --no-prompt