From owner-freebsd-isp Wed Sep 17 07:27:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA15812 for isp-outgoing; Wed, 17 Sep 1997 07:27:58 -0700 (PDT) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA15803 for ; Wed, 17 Sep 1997 07:27:53 -0700 (PDT) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.8.5/8.7.3) id HAA08519; Wed, 17 Sep 1997 07:27:09 -0700 (PDT) From: "Rodney W. Grimes" Message-Id: <199709171427.HAA08519@GndRsh.aac.dev.com> Subject: Re: sorry to ask a freebsd-question question! In-Reply-To: from Daniel O'Callaghan at "Sep 17, 97 08:05:42 pm" To: danny@panda.hilink.com.au (Daniel O'Callaghan) Date: Wed, 17 Sep 1997 07:27:09 -0700 (PDT) Cc: xiyuan@npc.haplink.co.cn, freebsd-isp@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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