- Add systat -altq. This displays altq packet statistics in a nice [ifname x altqname] matrix. Packets, bytes, and drops are displayed.
Previously the only way to do this was to use 'pfctl -s queue -vvv' which is formatted so horribly that picking information out of it at a glance is impossible.
Example usage: systat -altq 1
- Correct a bug in -ifstat that caused the statistics to not display when switching out and then back into the ifstat display.
aa0a803 systat - Add -altq display, bug fixes
usr.bin/systat/Makefile | 2 +-
usr.bin/systat/altqs.c | 565 +++++++++++++++++++++++++++++++++++++++++++++++
usr.bin/systat/cmdtab.c | 3 +
usr.bin/systat/extern.h | 7 +
usr.bin/systat/ifstat.c | 57 +++--
5 files changed, 603 insertions(+), 31 deletions(-)
Upstream: gitweb.dragonflybsd.org