Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am Santhosh. I am facing a problem collecting statistics like Received Packets, Received Bytes, Transmitted Bytes etc for a virtual interface configured on cpci card (zrl0:1). /sbin/ifconfig command output doesn't show any data for virtual interface however for interface which is maintained by kernel (zrl0) it shows. Following is the sample output
zrl0:1 Link encap:Ethernet HWaddr 00:80:42:11:A8:4C
inet addr:10.51.81.107 Bcast:10.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
My questions are :
a) Does the stats shown for zrl0 interface, include traffic for both zrl0 and zrl0:1 OR is it just of zrl0 interface?
b) If answer to question a) is NO, then how can I get stats for zrl0:1 virtual interface?