DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Network services

Port monitor requirements

To implement a port monitor, several requirements must be met. These are summarized here. In addition to the port monitor itself, an administrative command must be supplied.

Initial environment

When a port monitor is started, it expects an initial execution environment in which:

Important files

Relative to its current directory, the following key files exist for a port monitor:


_config
The port monitor's configuration script. The port monitor configuration script is run by the SAC. The SAC is started by init(1M) as a result of an entry in /etc/inittab that calls sac(1M).

_pid
The file into which the port monitor writes its process ID.

_pmtab
The port monitor's administrative file. This file contains information about the ports and services for which the port monitor is responsible.

_pmpipe
The FIFO through which the port monitor will receive messages from the SAC.

svctag
The per-service configuration script for the service with the tag svctag.

../_sacpipe
The FIFO through which the port monitor will send messages to the SAC.

Responsibilities

A port monitor is responsible for performing the tasks described below in addition to its port monitor-specific function.

A port monitor must perform the following miscellaneous tasks during its normal operation:

A port monitor must perform the following tasks during service invocation:


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004