On Sat, Sep 09, 2000 at 06:23:03PM -0400, Robert D. Hilliard wrote:
> Adam McKenna <[EMAIL PROTECTED]> writes:
> 
> > 
> > On Sat, Sep 09, 2000 at 04:03:50PM -0400, Robert D. Hilliard wrote:
> > >      ps ax|grep <daemon-name>|grep -v grep works for me.
> > 
> > if [ "`pidof <daemon>`" ] ; then
> > ...
> > fi
> 
>      For some reason pidof doesn't work on the dictd daemon, so it may
> not work on others as well.  See Bug#67021.

[EMAIL PROTECTED]:/usr/share/doc/dictd$ ps auxww | grep dict
nobody   16216  0.2  0.6  1768  876 ?        S    20:26   0:00 dictd 1.4.9:
0/0
adam     16218  0.0  0.3  1112  412 pts/6    S    20:26   0:00 grep dict
[EMAIL PROTECTED]:/usr/share/doc/dictd$ pidof "dictd 1.4.9: 0/0"
16216

Looks like it's working fine to me.

--Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to