Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2000 17:31:18 GMT
From:      Salvo Bartolotta <bartequi@inwind.it>
To:        Wobbly <snorkel@telstra.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: pppass out
Message-ID:  <20000623.17311800@bartequi.ottodomain.org>
In-Reply-To: <39535AE5.CEF8208A@telstra.com>
References:  <39535AE5.CEF8208A@telstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 6/23/00, 1:41:09 PM, Wobbly <snorkel@telstra.com> wrote regarding=20
pppass out:


> How do I kill user ppp once a connection is successfully established=20
in
> -background mode?

> Thanks!

> Rosco.


Dear Rosco,

in order to kill user PPP, you can issue a command such as

ps x | awk '$5 =3D=3D "ppp" { system("kill " $1)}'

No need  to grep | egrep | awk etc. :-)

If you wish to control user PPP, you might want to have a look at=20
pppctl(8).

Best regards,
Salvo





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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