man1/changedb

Table of Contents

Name

changedb - unified program to change database parameters.

Synopsis

changedb <argument list> filename

Description

This program reads stdin or a filename if given. Each line of input contains information needed to modify a field in some table in the AccelNET database.

The format of a line depends on the choice of --ftype.

Use the --help option to obtain a list of currently supported values for --ftype and information on the expected format.

A request is formatted and sent to dbman for each line.

Arguments

--dbman_host <host>

The host where dbman is running. If this argument is not specified the environment variable DBMAN_HOST is used, otherwise it defaults to localhost.
--ftype <type>

Use the --help option to obtain a list of values.
--verbose=<num>

This sets the level of information printed to either stderr or stdout. Note that the number is an optional argument, if no number is used then it will default to a value of 1 for basic logging and the = can be omitted.
--help

Print the usage information to stderr and exit.

File Format

The file format used depends on the type of change desired.

Here is example using "--ftype dbmod"

BM 01-1|CC |0.0
EQ TX-1|XVC |22.0
EQ TX-1|YVC |22.0

Examples

changedb --ftype value par_value_list

Manual Page Revision

$Id: changedb.1,v 1.2 2008/02/04 19:17:27 kitchen Exp $


Table of Contents