man8/updaemon

Table of Contents

Name

updaemon - upload database tables from the server daemon

Synopsis

updaemon <dbman_host>

Description

When this program is started it initially uploads the binary form of all of the AccelNET tables in the current directory then uploads the DATA table every five seconds. There is one file for each table to uploaded. The files are saved as <table_name>.sav in the current directory. The save directory may be changed by using the --data_path option.

Arguments

Argument processing is done using Unix long argument syntax

The values of all the parameters listed here (whether or not they were supplied on the command line) are printed on stderr when the program starts.

--dbman_host <hn>

The host where dbman is running. If this argument is not supplied the default is "localhost". If present the DBMAN_HOST enviroment variable is used.

--data_path <pn>

The directory to use to save the files. If not specified the default is the current working directory.

--save_dt=<time>

This determines the amount of time between DATA table saves. The default is: 5 sec.

--verbose=<number>

Normally the program does it’s work silently. This sets the level of logging information. The number is optional but if provided it must include the

If no argument is provided the default level is 1.0);

0 - work silently
1 - signon msg, option settings, welcome msg
2 - signon msg, option settings, welcome msg and uploaded table sizes

--help

Prints the help info to stderr and exits.

Notes

An interesting idea that every wanted but not really used much in practice since the database save performed by this program is a running snapshot of the system and it isn’t recommended that you restart a system by reloading a database saved in this manner.

Examples

updaemon csdev1

Manual Page Revision

$Id: updaemon.8,v 1.2 2008/05/05 13:01:26 kitchen Exp $


Table of Contents