Menu

#3 pidof returns pid of etc/rc.d script

open
nobody
None
5
2008-07-23
2008-07-23
Anonymous
No

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)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.