My method, based on plog:-

/usr/local/bin/pinf:-

#!/bin/sh
grep -B1 -A2 " CARRIER " /var/log/ppp.log 
tail $* /var/log/ppp.log

Lindsay

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lindsay Allen   <[EMAIL PROTECTED]>  Perth, Western Australia
voice +61 8 9316 2486    modem +61 8 9364-9832      32S, 116E
http:  http://rolf.ece.curtin.edu.au/~lindsay       debian linux
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to