Table of Contents
masn - assign meters from a file of saved assignments
masn <meter_host>
<dbman_host>
Assign meters from a file of meter assignments. The
file is read from the stdin and assignments are performed from it. The file
is usually created with
masnrd.
- meter_host
- The host where meterd is running.
- dbman_host
The host where dbman is running.
- METER
If the command line argument meter_host is present it overrides the environment
variable otherwise this value is used as the host name for meterd.
If METER
is missing from the environment and the meter_host command line argument
is not present the hostname defaults to localhost.
- DBMAN_HOST
If the command line argument dbman_host is present it overrides the environment
variable. otherwise this value is used as the host name for dbmand
If DBMAN_HOST
is missing from the environment and the dbman_host command line argument
is not present the hostname defaults to localhost.
The program
exits with a
0 on success.
The program exits with a
1 on all fatal errors.
DBMAN_HOST is used
to provide the host argument in the assign request passed to
meterd. It
would be better for the assignments file to contain the
dbman host name
rather than provide it in this way since meterd is capable of handling
more than one running copy of
dbman at a time.
assignd(8)
knobd(8)
meterd(8)
METERconf(5)
masnrd(1)
masn csdev1 csdev1 < saved_meter_assignments
$Id: masn.1,v 1.2 2001/10/19 16:47:06 kitchen Exp $
Table of Contents