| Server IP : 94.16.115.136 / Your IP : 216.73.217.106 Web Server : Apache/2.4.52 (Ubuntu) System : Linux rogerrabbit 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : bkillingseder ( 1001) PHP Version : 8.1.2-1ubuntu2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /snap/lxd/40115/share/openvswitch/scripts/ |
Upload File : |
#! /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