On Fri, Jan 28, 2005 at 03:21:24PM -0500, Amir S Mesry wrote: > Also as far as using pfstat or a similar program, when using > queueing, in order to get the % of the queue's bandwidth being used over > a period of time, would you monitor the outgoing interface or is there > no way to do this?
There's at least three types of counters you can watch. The most accurate regarding queueing will be those that pfctl -(v)vsq prints. Those tell you precisely how full each queue is, how many packets have been dropped by altq, etc. If you set the pf loginterface (set loginterface, see pf.conf(5)) to the interface you're queueing on, the per-interface counters shown by pfctl -si represent the traffic prior to queueing. That is, pf will count packets sent out even if they are later dropped by altq. This is what pfstat bases graphs on. Finally, there's the counters shown by netstat -(b)I, which represent what the interface actually sent out (after queueing was applied). Daniel
