[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: PID from Slurp
On Tue, 27 May 2003 Frank.Lohfeld@bahn.de wrote:
> How must i configure the slurpd process that the process write an PID file
> like the slapd pid file?
Not as far as I can see.
> or can i determine the PID from an slurpd with the shell script which
> started the slurpd???
In FreeBSD and similar:
slurp_pid=`set - \`ps -auxwww | grep slurpd | grep -v grep\`;echo $2`
test "$slurp_pid" != "" && kill -9 $slurp_pid
--
Dave Horsfall DTM VK2KFU daveh@ci.com.au Ph: +61 2 9906-7866 Fx: 9906-1556
Corinthian Engineering, Level 1, 401 Pacific Hwy, Artarmon, NSW 2064, Australia