From owner-freebsd-questions Wed Sep 11 11:08:29 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA19083 for questions-outgoing; Wed, 11 Sep 1996 11:08:29 -0700 (PDT) Received: from gatekeeper.fsl.noaa.gov (gatekeeper.fsl.noaa.gov [137.75.131.181]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA19078 for ; Wed, 11 Sep 1996 11:08:26 -0700 (PDT) Received: from emu.fsl.noaa.gov (kelly@emu.fsl.noaa.gov [137.75.60.32]) by gatekeeper.fsl.noaa.gov (8.7.5/8.7.3) with ESMTP id SAA29287; Wed, 11 Sep 1996 18:08:25 GMT Message-Id: <199609111808.SAA29287@gatekeeper.fsl.noaa.gov> Received: by emu.fsl.noaa.gov (1.40.112.4/16.2) id AA118485310; Wed, 11 Sep 1996 12:08:30 -0600 Date: Wed, 11 Sep 1996 12:08:30 -0600 From: Sean Kelly To: hmmm@alaska.net Cc: freebsd-questions@FreeBSD.org In-Reply-To: <3236E3C2.57AA@alaska.net> (message from hmmm on Wed, 11 Sep 1996 09:07:30 -0700) Subject: Re: user ppp Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >>>>> hmmm writes: > i'm hacking user-ppp and i crash it alot ... how can i flush ppp > from my system when it's running as a daemon? i'd like to restart > ppp as a daemon after i crash it. I'm not sure what flush means in this context, but I think you want to kill the /usr/sbin/ppp daemon process and then restart it, right? This is what I do: kill `ps -axo pid,command | awk '$0 ~ /[p]pp -auto/ {print $1}'` ppp -auto > i hate rebooting just because i crash it. you can't "kill" it > either because it has no PID. /usr/sbin/ppp runs as a process, so it has a PID. We must be talking about different things. -- Sean Kelly NOAA Forecast Systems Laboratory kelly@fsl.noaa.gov Boulder Colorado USA http://www-sdd.fsl.noaa.gov/~kelly/