[KLUG Members] mac address
Dirk H Bartley
members@kalamazoolinux.org
Mon, 25 Jun 2001 13:34:57 -0400
Adam Williams wrote:
>
> On 25 Jun 2001 10:42:35 -0400, Patrick Stockton wrote:
> > anybody know the easiest way to figure out the MAC address of your ethernet
> > card?
>
> ifconfig
> netstat -i
> dmesg | grep eth0
>
> --
How about
ip link show
ip addr show
Sorry, I'll stop that now.
Pat and Mark, thanks for the links.
http://freshmeat.net/projects/mrtg/
You can download it at: http://www.ntop.org
I'll check it out!
sar will also do the job. It is in the sysstat package from RH.
try this for yet another option.
[root@gateway tunnel]# sar -n DEV 1 4
Linux 2.4.2 (gateway) 06/25/2001
01:35:49 PM IFACE rxpck/s txpck/s rxbyt/s txbyt/s
01:35:50 PM lo 0.00 0.00 0.00 0.00
01:35:50 PM eth0 1.00 0.00 60.00 0.00
01:35:50 PM eth1 2.00 3.00 212.00 270.00
01:35:50 PM ppp0 2.00 1.00 104.00 132.00
Dirk