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

Port monitor-specific administrative command

In ``The port monitor administrative file: _pmtab'', two pieces of information included in the _pmtab file were described:

When a new port monitor is added, the version number must be known so that the _pmtab file can be correctly initialized. When a new service is added, the port monitor-specific part of the entry must be formatted correctly.

Each port monitor must have an administrative command to perform these two tasks. The person who defines the port monitor must also define such an administrative command and its input options. When the command is invoked with these options, the information required for the port monitor-specific part of the service entry must be correctly formatted for inclusion in the port monitor's _pmtab file and must be written to the standard output. To request the version number, the command must be invoked with a -V option; when it is invoked in this way, the port monitor's current version number must be written to the standard output.

If the command fails for any reason during the execution of either of these tasks, nothing should be written to standard output.

The port monitor-specific commands for ttymon and listen are described in ``Administering the ttymon port monitor'' and ``Administering the listen port monitor'' and on the ttyadm(1M) and nlsadmin(1M) manual pages.


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