Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
Miscellaneous Files and Commands inetd(8)
NAME
inetd - The Internet superserver
SYNOPSIS
/usr/ucb/inetd
[ -d ]
[ -L ]
[ -R rate ]
[ -W process_name ]
[ configfile ]
FLAGS
-d Turns on debugging.
-L Turns on load balancing. When load balancing is performed, inetd runs external server
service programs on all available processors in cyclic order, or on the set of processors
specified for an external service in the Proc entry of an inetd configuration file.
The default action is to run all external server service programs on the processor used to
run inetd.
-R rate
Specifies the maximum number of times per minute a service can be invoked. The
default value is 40.
-W process_name
Specifies the NonStop operating system process name to assign to the running process.
The value used as process_name must conform to the naming rules for NonStop operating
system process names and must be specified as the OSS pathname for a Guardian named
process; that is, it must be specified in the form /G/process_name, where the dollar sign
($) is omitted.
The default action is to run the process as an unnamed process.
configfile
Specifies the pathname of the configuration file to be used for this invocation of the pro-
cess. If this operand is omitted, the default pathname of /etc/inetd.conf is used.
DESCRIPTION
The inetd process should be run immediately after loading the OSS product files into the OSS
environment. It listens for connections on certain Internet sockets. When a connection is found
on one of its sockets, it decides what service the socket corresponds to, and invokes a program to
service the request. After the program completes the request, it continues to listen on the socket
(except in some cases that are described later in this section). Essentially, inetd allows one
server process to invoke several others, reducing load on the system.
Upon execution, inetd reads its configuration information from a configuration file (either
configfile in the command line or /etc/inetd.conf). There must be an entry in each field of the
configuration file (except as noted below). The fields must be separated by a tab or a space.
Comments are denoted by a # (number sign) at the beginning of a line.
The fields of the configuration file are as follows:
SrvName SockType ProtoName Wait/Nowait UserName [Proc] SrvPath SrvArgs
SrvName
The name of a valid service in the /etc/services file. For internal services (discussed
later in this section), the service name must be the official name of the service; that is, the
first entry in /etc/services).
527188-003 Hewlett-Packard Company 12−13