Most of the server daemons started by /etc/inetd.conf accept
a -d option forcing all sockets to be created with
debugging turned on. With debugging on, activity is logged in
/usr/adm/syslog. To enable logging:
Edit /etc/inetd.conf to add the -d option to each
daemon you want to log.
Determine the process ID of inetd by entering the
following command:
cat /etc/inetd.pid
The process ID of inetd appears.
Send a message to inetd to force it to reread
/etc/inetd.conf:
kill -1inetd_pid
inetd_pid is the process ID from step 2.
If you enable logging for all server daemons, take care to monitor the
size of /usr/adm/syslog, as it may grow quickly. To turn off
logging, reedit inetd.conf to remove debug flags and
kill -1 the inet daemon again.