Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 1997 07:27:09 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com>
To:        danny@panda.hilink.com.au (Daniel O'Callaghan)
Cc:        xiyuan@npc.haplink.co.cn, freebsd-isp@FreeBSD.ORG
Subject:   Re: sorry to ask a freebsd-question question!
Message-ID:  <199709171427.HAA08519@GndRsh.aac.dev.com>
In-Reply-To: <Pine.BSF.3.91.970917200519.818Q@panda.hilink.com.au> from Daniel O'Callaghan at "Sep 17, 97 08:05:42 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed, 17 Sep 1997, xiyuan qian wrote:
> 
> >  Hi, I know "ps -ax | grep ppp" can find the ppp running's pid, but when I do 
> >  that, it sometimes show me 
> >      616 ....  ppp
> >      716 ....  ps -ax | grep ppp
> >  or sometimes it only show me 
> >      616 ....ppp
> >  Why? How can I deny the "ps -ax | grep ppp"  showing out?
> 
> ps -ax | fgrep ppp | fgrep -v fgrep

Stop with the silliness, just go get pppd's pid(s) from /var/run/ppp*.pid


-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation, Inc.                   Reliable computers for FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709171427.HAA08519>