man1/kcmd

Table of Contents

Name

kcmd - issue a command to the knob system

Synopsis

kcmd <knob_host> <command>

Description

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

Arguments

knob_host - optional

The host where knobd is running.
command - required

The command. See below.

Commands

h_disp_on

enable display of dbman’s host name.
h_disp_off

disable display of dbman’s host name.
a_log_on

enable logging of assign requests. This is for software debug.
a_log_off

disable logging of assign requests. This is for software debug.
w_log_on

enable logging of write lock requests. This is for software debug.
w_log_off

disable logging of write lock requests. This is for software debug.

Environment Variables

KNOB

If the command line argument knob_host is present it overrides the environment variable otherwise this value is used as the host name for knobd.

If KNOB is missing from the environment and the knob_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)
kasnrd(1)
mcmd(1)

Examples

kcmd csdev1 h_disp_on

Manual page revision

$Id: kcmd.1,v 1.3 2004/06/30 13:30:19 kitchen Exp $


Table of Contents