From: Ben Pfaff Date: Mon, 10 Oct 2011 17:29:49 +0000 (-0700) Subject: ovs-bugtool: Add -s to "ovs-dpctl show" command, to show vport statistics. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cd2c2ef3d901c4ef1339e3e8459c64508bee167;p=openvswitch ovs-bugtool: Add -s to "ovs-dpctl show" command, to show vport statistics. It would be nice to include this in xen-bugtool output too but that would require Citrix to patch xen-bugtool directly. Bug #7628. Reported-by: Ethan Jackson --- diff --git a/utilities/bugtool/ovs-bugtool.in b/utilities/bugtool/ovs-bugtool.in index 422b2dd4..d7948d9c 100755 --- a/utilities/bugtool/ovs-bugtool.in +++ b/utilities/bugtool/ovs-bugtool.in @@ -588,7 +588,7 @@ exclude those logs from the archive. file_output(CAP_NETWORK_STATUS, [PROC_NET_SOFTNET_STAT]) tree_output(CAP_NETWORK_STATUS, OPENVSWITCH_LOG_DIR) if os.path.exists(OPENVSWITCH_VSWITCHD_PID): - cmd_output(CAP_NETWORK_STATUS, [OVS_DPCTL, 'show']) + cmd_output(CAP_NETWORK_STATUS, [OVS_DPCTL, 'show', '-s']) for d in dp_list(): cmd_output(CAP_NETWORK_STATUS, [OVS_OFCTL, 'show', d]) cmd_output(CAP_NETWORK_STATUS, [OVS_OFCTL, 'dump-flows', d])