when 'pidof $DAEMON' is called from a etc/rc.d script it returns both the PID of the daemon and the init script that called it, eg
'pidof esd' called from /etc/rc.d/esd returns: 225 228 (225 being the esd pid, 228 being the pid of /etc/rc.d/esd)
Log in to post a comment.