man8/dbshutdown
Table of Contents
dbshutdown - tell the database server to shutdown
dbshutdown
<dbman_host> <yes>
This program sends a message to
dbman telling
it to close client connections. This has the effect of stopping the I/O.
dbman is left running thus enabling a quick restart. Normally after exiting
dbman one has to wait for one minute for TCP/IP bookkeeping.
It asks for
confirmation before proceeding.
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.
- DBMAN_HOST
- The value of dbman_host is used if present else DMAN_HOST
is used if present else the program fails.
- 0
- success
- 1
- failure,
i.e. dbman isn’t running or the hostname is wrong.
dbshutdown csdev1
$Id: dbshutdown.8,v 1.2 2004/07/15 13:28:36 kitchen
Exp $
Table of Contents