Linux-kernel mailing list archive 2000-15,: /proc/net/dev reporting on virtual interfaces

# /proc/net/dev reporting on virtual interfaces

Web Master (wwwadmin@wizard.ca)
Sun, 09 Apr 2000 16:05:37 -0700

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Bill Maidment: "Re: English spelling? Yes! (was: Re: Shmem filesystem? DevFS?"
- Previous message: Ed Carp: "Re: Suggested dual human/binary interface for proc/devfs"
- Next in thread: Web Administrator: "Re: /proc/net/dev reporting on virtual interfaces"
- Reply: Web Administrator: "Re: /proc/net/dev reporting on virtual interfaces"

Simple question!, can the kernel report virtual interface traffic in
/proc/net/dev?

Done a lot of searching, and there is little to be found on this
subject.
Will have to write a definitive how-to on bandwidth tracking when I get
this all sorted out.
But I seem to have to resolve some basic issues, before working on the
SNMP and MRTG issues.

New kernels (aka 2.2.x) do not show me virtual device stats anymore in
/proc/net/dev

I get several different answers on whether kernels can still report
traffic on a per interface basis, depending on who I talk to, so back to
the kernel lists et al.

of course, basics are covered, ifconfig reports correctly the virtual
devices, but only the base device (ie eth0) is reported in /proc/net/dev
and not the others (ie eth0:0, eth0:1...)

Michael

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Bill Maidment: "Re: English spelling? Yes! (was: Re: Shmem filesystem? DevFS?"
- Previous message: Ed Carp: "Re: Suggested dual human/binary interface for proc/devfs"
- Next in thread: Web Administrator: "Re: /proc/net/dev reporting on virtual interfaces"
- Reply: Web Administrator: "Re: /proc/net/dev reporting on virtual interfaces"