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

inetd(8) OSS Shell and Utilities Reference Manual
EXAMPLES
1. To start inetd as a named process and restrict it to satisfying approximately 10 service
requests per minute, enter:
/usr/ucb/inetd -R 10 -W /G/INETD /etc/inetd.conf &
2. To start inetd as a named process and perform load balancing for the rexecd service
using processors 2 through 4, enter:
/usr/ucb/inetd -R 10 -W /G/INETD -L &
using an /etc/inetd.conf conguration le that contains the following entry:
exec stream tcp nowait super.super [2-4] /bin/rexecd
FILES
/usr/ucb/inetd
Species the command path.
/etc/inetd.conf
Contains information on the services used for the Internet sockets in the system.
/etc/services
Contains the names of ofcial and unofcial Internet services used in the system.
/etc/protocols
Contains the names of the Internet protocols implemented in the system.
NOTES
The OSS sockets transport provider process used by inetd can be specied in either of the fol-
lowing ways:
1. Set the Guardian PARAM SOCKETˆTRANSPORTˆNAME in the HP Tandem Advanced
Command Language (TACL) session that subsequently starts the OSS shell session in
which inetd is started. This specication has the format:
PARAM SOCKETˆTRANSPORTˆNAME process_name
For example:
PARAM SOCKETˆTRANSPORTˆNAME $ZTC1
2. Set the environment variable SOCKET_TRANSPORT_NAME in the OSS shell ses-
sion from which inetd is started. This specication has the format:
EXPORT SOCKET_TRANSPORT_NAME=\process_name
For example:
EXPORT SOCKET_TRANSPORT_NAME=\$ZTC1
When the PARAM is specied, it becomes the corresponding environment variable when the
OSS shell is started.
RELATED INFORMATION
Miscellaneous: rshd(8).
Files: services(4).
1236 Hewlett-Packard Company 527188-007