[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[altq:1823] Re: Metrics for ALTQ



Mathew Simon wrote:
> I'm using ALTQ on OpenBSD 3.2 stable.
> I have a few questions on metric/statistics for ALTQ.
> 
> 1- Are there any MIBs to view Queue statistics for ALTQ ?

No, but it won't be too hard to write an interface for ucd-snmp.

> 2- I use the command altqstat to view the Queue statistics per interface.
>    For example (altqstat -i fxp0)
>    But this command keeps running till I press CTRL-C. 
>    Is there some option where I this command just displays the statistics
>    and returns back to the shell without my pressing CTRL-C.
>    Or is there some option in the code.

"-c <count>" specifies the repeat count.
(e.g., altqstat -i fxp0 -c 1)

> 3- When I use PRIQ and look at "altqstat -s" it only shows me the filters
>    for one class, inspite of my configuring 3-4 classes.
>    Is there anyway I can display all the classes+filters using this same command.

It is a known bug.  -s option works only with hierarcical classes.

-Kenjiro