man1/mcmd

Table of Contents

Name

mcmd - issue a command to the meter system

Synopsis

mcmd <meter_host> <command>

Description

Issue a command to the assignable meter system. See the commands section for a list of valid commands.

Arguments

meter_host - optional

The host where meterd is running.
command - required

The command. See below.

Commands

h_disp_on

enable display of dbman host name.
h_disp_off

disable display of dbman host name.
a_log_on

enable logging of assign requests.
a_log_off

disablelogging of assign requests.

Environment Variables

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.

Exit Codes

The program exits with a 0 on success.
The program exits with a 1 on all fatal errors.

Notes

See Also


assignd(8)
knobd(8)
meterd(8)
METERconf(5)
masnrd(1)
kcmd(1)

Examples

mcmd csdev1 h_disp_on

Manual page revision

$Id: mcmd.1,v 1.2 2002/08/27 13:12:20 kitchen Exp $


Table of Contents