[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: startup script when server reboots
That's legacy from problems I had when I was first learning and using
openLDAP, I kept finding that the actual pid and the pid in the table don't
match. It also gives me all the slapd processes running. With multiple
people using my box, I occasionally find two or three instances running and
this gives me all the numbers.
Derek
djdees@mm.com
http://www.mm.com/user/djdees
Sarchasm: The gulf between the author of sarcastic wit and the person who
doesn't get it.
> -----Original Message-----
> From: Sean Kelly [mailto:kelly@mail2a.jpl.nasa.gov]
> Sent: Tuesday, November 21, 2000 11:12
> To: Derek Dees; Siao Chiun; openldap-software@OpenLDAP.org
> Subject: Re: startup script when server reboots
>
>
> > ps aux | grep slapd | grep -v grep | grep -v "slapd pid"
>
> No less than *four* concurrent processes to get the PID?
>
> Why not use "cat /usr/local/var/slapd.pid"?
>
> --Sean
>
>