man8/dbtest

Table of Contents

Name

dbtest - test to see if database server is running

Synopsis

dbtest <dbman_host>

Description

This program attempts to open a connection to dbman. If successful it closes the connection exits with a code of zero. If unsuccesful it returns one.

Arguments

dbman_host
The host where dbman is running.

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.

Examples

dbtest csdev1

Manual page revision

$Id: dbtest.8,v 1.1 1999/05/19 18:48:51 kitchen Exp $


Table of Contents