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

Re: Monitoring ppp0 Packets



while true
do
  grep ppp0 /proc/net/dev
  sleep 1
done

Ian Perry wrote:

> I would like to know if there is a way where I can monitor the number of
> ppp0 packets transmitted and received as a continuous update on the screen.
>  Similar to the way the tail command will show the last entries in a file
> as they happen.  I know I can use ifconfig to show the number at an
> instant, but I do not know how to do this on a continuous basis.
>
> Thanks
>
> Ian
>
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> debian-user-request@lists.debian.org .
> Trouble?  e-mail to templin@bucknell.edu .



--
Jens B. Jorgensen
jjorgens@bdsinc.com



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: