man8/dbclear

Table of Contents

Name

dbclear - clear the database

Synopsis

dbclear <dbman_host> <yes>

Description

This program sends a message to dbman telling it to clear the database. It asks for confirmation before proceeding.

Arguments

Argument processing is simpleminded.

The arguments marked required must be supplied.

Arguments marked optional are not required. However, if an optional argument is used the arguments preceeding it on the command line must be supplied (even if they are marked optional).

dbman_host - optional
The host where dbman is running.
yes - optional
If this argument is provided the user will not be asked for confirmation.

Environment Variables

DBMAN_HOST
The value of dbman_host is used if present else DMAN_HOST is used if present else the program fails.

Exit Codes

0
success
1
failure, i.e. dbman isn’t running or the hostname is wrong.
2
database was cleared.

Examples

dbclear

csdev1

Manual page revision

$Id: dbclear.8,v 1.2 2004/07/15 13:28:36 kitchen Exp $


Table of Contents