lifstat

lifstat is a linux utility that reads /proc/net/dev and reports input and output statistics for available network interfaces over a repeating time inteval similar to the BSD 'netstat -i' command.

usage:

$ lifstat
             in                       out
iface     bytes      pkts   err     bytes      pkts   err
lo          672         6     0       672         6     0
eth0        420         4     0       700         8     0
ppp0         92         1     0        92         1     0
lo          672         6     0       672         6     0
eth0        420         6     0       700        12     0
ppp0         78         1     0       106         1     0
^C

Please feel free to let me know if you find this program useful or if you have any problems with it.

Download:
lifstat 2006-10-31 source
lifstat 2003-08-23 source
lifstat 2003-08-23 debian package
lifstat 2003-08-23 debian powerpc package

CHANGELOG

Frank S. Fejes III
frank at fejes dot net
last modified: 2006-10-31
home