Internet services daemon
The Internet services daemon, inetd,
is normally run at boot time by the
Service Access Facility (SAF).
inetd listens for connections on the Internet addresses of the
services specified in its configuration file.
When a connection is found, inetd
invokes the server daemon specified by
that configuration file for the requested service.
Once a server process exits, inetd continues to
listen on the socket.
Rather than having several daemon
processes with sparsely distributed requests each running concurrently,
reduces the load on the system by invoking Internet servers only as
they are needed.
inetd itself provides a number of simple TCP-based services.
(human readable time), and
(machine readable time, in the form of the number of seconds since
midnight, January 1, 1900).
details of these services, consult the appropriate RFC,
as listed below,
from the Network Information Center.
the inetd configuration file
the inetd process id file (if started via SAF)
When started, inetd reads its configuration information from
configuration-file, the default being /etc/inetd.conf.
for more information on the format of this file.
rereads its configuration file whenever it receives a hangup signal,
New services can be activated, and existing services deleted or modified in
between whenever the file is reread.
Run inetd ``stand-alone,''
outside the Service Access Facility (SAF).
When the -s option is not used,
inetd must be run under SAF via the
In debug mode, TCP connections will have the SO_DEBUG option enabled
via setsockopt (see
SO_DEBUG is needed for
Note that when -d option is used, inetd runs in the
Put inetd into calltrace mode, which produces additional
To have SAF start inetd if it is not already running:
sacadm -s -p inetd
You can force inetd to re-read /etc/inetd.conf by
sending it a SIGHUP signal. If inetd
was started by SAF rather than from the command line,
use the following command:
kill -HUP `cat /etc/saf/inetd/_pid`
ALternatively, use the SAF to stop and restart inetd:
sacadm -k -p inetd
sacadm -s -p inetd
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004