Why I love Solaris’ SMF
April 19, 2009
Ill keep it short; SMF > rc.d
# ps -ef | grep -i thttpd root 3919 6938 0 15:45:16 pts/6 0:00 grep -i thttpd webservd 18619 592 0 Jun 11 ? 0:54 /opt/extra/sbin/thttpd -C thttpd.conf
Now…
# kill -9 18619 # ps -ef | grep -i thttpd webservd 4017 592 0 15:47:33 ? 0:00 /opt/extra/sbin/thttpd -C thttpd.conf
Automatic service restarts. Solaris is like a nice Cadillac compared to Linux.