If the parent of slapd is init, you could also check for a PPID of
1—this will only be true for the host slapd.
--
David Serrano
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensi
Le jeudi 05 mai 2011 à 00:35 +0200, Papp Tamas a écrit :
> On 05/05/2011 12:14 AM, David Touzeau wrote:
> > Dear,
> >
> > I have an issue about hide processes on the host
> >
> > I have a watchdog script on the host that ensure slapd is up
> >
> > there is different behavior using pidof or pgrep
On 05/05/2011 12:14 AM, David Touzeau wrote:
> Dear,
>
> I have an issue about hide processes on the host
>
> I have a watchdog script on the host that ensure slapd is up
>
> there is different behavior using pidof or pgrep
>
> the ps aux output
>
> # ps aux|grep slapd
> root 2444 0.0 0.2
Dear,
I have an issue about hide processes on the host
I have a watchdog script on the host that ensure slapd is up
there is different behavior using pidof or pgrep
the ps aux output
# ps aux|grep slapd
root 2444 0.0 0.2 149296 6816 ?Ssl May03
1:21 /usr/sbin/slapd -4 -u ro