Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

inetd(8) OSS Shell and Utilities Reference Manual
NAME
inetd - The Internet superserver
SYNOPSIS
/usr/ucb/inetd
[ -d ]
[ -L ]
[ -R rate ]
[ -W process_name ]
[ congle ]
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
specied for an external service in the Proc entry of an inetd conguration le.
The default action is to run all external server service programs on the processor used to
run inetd.
-R rate
Species the maximum number of times per minute a service can be invoked. The
default value is 40.
-W process_name
Species 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 specied as the OSS pathname for a Guardian named
process; that is, it must be specied 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
Species the pathname of the conguration le 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 les 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 conguration information from a conguration le (either
congle in the command line or /etc/inetd.conf). There must be an entry in each eld of the
conguration le (except as noted below). The elds must be separated by a tab or a space.
Comments are denoted by a # (number sign) at the beginning of a line.
The elds of the conguration le are as follows:
SrvName SockType ProtoName Wait/Nowait UserName [Proc] SrvPath SrvArgs
SrvName
The name of a valid service in the /etc/services le. For internal services (discussed
later in this section), the service name must be the ofcial name of the service; that is, the
rst entry in /etc/services).
1234 Hewlett-Packard Company 527188-007