Starting refdba

To start an interactive refdba session, use the command:

refdba [-c pager-command] [-e log-destination] [-h] [-i IP-address] [-l log-level] [-L log-file] [-p port] [-q] [-T time] [-u name] [-v] [-V] [-w password]

The meaning of the command-line switches is explained in the section common command-line options.

Unless you specify a password in a configuration file or on the command line, refdba will ask you for a password before you can proceed. When refdba runs, you are greeted with the prompt:

refdba:

To start refdba in batch mode, use the following command:

refdba [-c pager-command] {-C command} [-e log-destination] [-i IP-address] [-l log-level] [-L log-file] [-p port] [-q] [-T time] [-u name] [-w password]

refdba will execute the internal command whose name is specified with the -C option and exit. You can specify all command-line options that the internal command may need on the refdba command line.

The exit code is 0 if all went fine. It will be 1 if the command (when run in batch mode) or the last command (when run in interactive mode) returned an error, or if there was a general error condition during startup like a lack of available memory.