[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tun0 problems



On 01-Nov-99 Aaron Jackson wrote:
>>ppp -background ISP &
>>read
>>kill `ps ax | grep ppp | grep -v grep | awk 4{ printf ("%d", $1) }4` && \
>>     echo "PPP killed!"
> 
> Of course this will only work if there are no other processes with "ppp"
> in the command field, like man ppp. ;-)

I suggest you use 'ps cax' instead 'ps ax'.
It lists the processes by name unencumbered with their arguments.

Thierry

Attachment: pgpJ4IJRUnFD1.pgp
Description: PGP signature


Visit your host, monkey.org