Tryag File Manager
Home
||
Turbo Force
||
B-F Config_Cpanel
Current none :
/
snap
/
lxd
/
32662
/
share
/
openvswitch
/
scripts
/
Or
Select Your none :
Upload File :
New :
File
Dir
//snap/lxd/32662/share/openvswitch/scripts/ovs-bugtool-get-port-stats
#! /bin/bash #Iterate through each port of every bridge and print #the port statistics for bridge in `ovs-vsctl -- --real list-br` do echo "${bridge} : " echo " ${bridge} : `ovs-vsctl get interface ${bridge} statistics`" for iface in `ovs-vsctl list-ifaces ${bridge}` do echo " ${iface} : `ovs-vsctl get interface ${iface} statistics`" done echo -e "\n" done