]>
git.proxmox.com Git - mirror_ovs.git/blob - utilities/bugtool/ovs-bugtool-tc-class-show
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of version 2.1 of the GNU Lesser General
5 # Public License as published by the Free Software Foundation.
7 # This library is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 # Lesser General Public License for more details.
12 # You should have received a copy of the GNU Lesser General Public
13 # License along with this library; if not, write to the Free Software
14 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
17 # Copyright (C) 2011 Nicira, Inc.
19 for iface
in $
(cd /sys
/class
/net
&& echo *); do
20 if [ -d /sys
/class
/net
/$iface ]; then
21 echo Interface
$iface:
22 # indent tc output so it's clear which interface it pertains to
23 /sbin
/tc
-s -d class show dev
$iface |
/bin
/sed 's/^/ /'