Checkqdisc
From Ye Ole Stash
#!/bin/bash #A quick hack to show dropped and requeued packets for MRTG on the default fifo_fast qdisc #This shows dropped on all interfaces /bin/echo "dropped" /sbin/tc -d -s qdisc | grep dropped | awk '{print $7}' | tr -d , #This shows requeues /bin/echo "requeues" /sbin/tc -d -s qdisc | grep dropped | awk '{print $11}' | tr -d ")"