man8/mk_shutdown

Table of Contents

Name

mk_shutdown - order meter and knob service to croak

Synopsis

mk_shutdown <mk_host>

Description

Sends messages to assignd, meterd, and knobd telling them to exit.

Arguments

mk_host

The host where meterd and knobd are running.

Environment Variables

KNOB

If the command line argument mk_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 mk_host command line argument is not present the hostname defaults to localhost.

METER

If the command line argument mk_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 mk_host command line argument is not present the hostname defaults to localhost.

ASSIGN

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

If ASSIGN is missing from the environment and the mk_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.
The program exits with a 2 on all warning type errors.

A warning error is when the program can’t connect to one of the services (i.e. meterd, knobd, or assignd) that it is supposed to tell to shutdown.

This isn’t considered a fatal error since in some system configurations one or more of the services may not be running.

See Also


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

Examples

mk_shutdown csdev1

Manual Page Revision

$Id: mk_shutdown.8,v 1.1 2001/10/19 16:48:05 kitchen Exp $


Table of Contents