проверка состояния
1.
grep -v ^# /etc/inetd.conf
# grep -v ^# /etc/inetd.conf
ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd
telnet stream tcp6 nowait root /usr/sbin/telnetd telnetd -a
shell stream tcp6 nowait root /usr/sbin/rshd rshd
login stream tcp6 nowait root /usr/sbin/rlogind rlogind
exec stream tcp6 nowait root /usr/sbin/rexecd rexecd
ntalk dgram udp wait root /usr/sbin/talkd talkd
daytime stream tcp nowait root internal
time stream tcp nowait root internal
daytime dgram udp wait root internal
time dgram udp wait root internal
caa_cfg stream tcp6 nowait root /usr/sbin/clusterconf clusterconf >>/var/adm/ras/clusterconf.log 2>&1
xmquery dgram udp6 wait root /usr/bin/xmtopas xmtopas -p3