Interface statistics support on CVX


Hey guys,

I'd like to get CVX to support counters. Does anyone have interface counters working in CVX? I believe it may have something to do with using virtio instead of e1000 or other nics, but seeing as I can't get e1000 to receive packets, I can't be sure. Any ideas?

For reference, I'm running in VirtualBox and CVX 2.5.6.

Thanks!

2 replies

Userlevel 3
You might want to try upgrading to VX 3.0. I see interface stats when using VX 3.0 with the "ip -s link show swpX" command. For example:
# ip -s link show swp5
7: swp5: mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 08:00:27:71:94:1d brd ff:ff:ff:ff:ff:ff
RX: bytes packets errors dropped overrun mcast
4930 32 0 4 0 0
TX: bytes packets errors dropped carrier collsns
2099 14 0 0 0 0

However, the stats are not available through ethtool:
# ethtool -S swp5
no stats available
Thanks! Looks like that also shows stats on 2.5.6 as well!

Reply