Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Lex on May 23, 2002, 11:20:46 AM

Title: ifconfig - no bytes
Post by: Lex on May 23, 2002, 11:20:46 AM
The command ifconfig displays no bytes.
I need this value for a  own traffic script.

is there a way to display like:

eth0 Protokoll:Ethernet Hardware Adresse 00:80:AD:03:86:5D
          inet Adresse:192.168.81.198 Bcast:192.168.81.255 \
                       Maske:255.255.255.0
          inet6 Adresse: fe80::280:adff:fe03:865d/10 \
                       Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:3945113 errors:1 dropped:0 overruns:1 frame:1
          TX packets:3353280 errors:1 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:100
          RX bytes:3701609818 (3530.1 Mb) TX bytes:2669885030 (2546.2 Mb)
          Interrupt:10 Basisadresse:0xc000