Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 1997 02:23:02 -0700
From:      John-Mark Gurney <gurney_j@efn.org>
To:        xiyuan qian <xiyuan@npc.haplink.co.cn>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: sorry to ask a freebsd-question question!
Message-ID:  <19970917022302.25738@hydrogen.nike.efn.org>
In-Reply-To: <199709171650.QAA05561@npc.haplink.co.cn>; from xiyuan qian on Wed, Sep 17, 1997 at 04:50:18PM %2B0000
References:  <199709171650.QAA05561@npc.haplink.co.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
xiyuan qian scribbled this message on Sep 17:
>  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?

use grep to filter out any lines with grep:
ps ax | grep ppp | grep -v grep

-- 
  John-Mark Gurney                          Modem/FAX: +1 541 683 6954
  Cu Networking

  Live in Peace, destroy Micro$oft, support free software, run FreeBSD



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