If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:apstats
BoxMatrix >> Shell-Commands >> apstats | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Startup-Scr | Hotplug-Scr | BusyBox-Cmds | Bash-Cmds | AVM-Cmds | Chipset-Cmds | Linux-Cmds | Shared-Libs | Kernel-Mods | Research |
Linux-Command
Command: | apstats - type Link, Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Linux-Commands - Origin: QcaWifi | ||||||
Path: | Release: /sbin Lab+Rel: /sbin | ||||||
Properties: | Size: 36.3k - 72.0k, Link - Firmware: 4.76 - 8.00 | ||||||
Function: | QCA: Display Access Point Statistics. Fusiv: Display Accelerator Processors Statistics. |
Goto: QCA - Fusiv - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
This article covers 2 different commands located at the same path.
BoxMatrix has no automatism covering this yet so they will be explained here both.
Both are easy to distinguish, one is a symlink in Fusiv models, the other is an executable for QcaWifi.
QCA
apstats for QCA WLAN chipsets is an executable and no symlink. AP
means Access Point
here.
The Dependencies cover this command.
Fw 7.39 help:
root@fritz0:/var/mod/root# apstats --help apstats v0.1: Display Access Point Statistics. Usage: apstats [Level] [[-i interface_name] | [-m STA_MAC_Address]] [-R] One of four levels can be selected. The levels are as follows (from the top to the bottom of the hierarchy): Entire Access Point, Radio, VAP and STA. The default is Entire Access Point. Information for sub-levels below the selected level can be displayed by choosing the -R (recursive) option (not applicable for the STA level, where information for a single STA is displayed). LEVELS: -a or --aplevel Entire Access Point Level (WLAN). No Interface or STA MAC needs to be provided. -r or --radiolevel Radio Level. Radio Interface Name needs to be provided. -v or --vaplevel VAP Level. VAP Interface Name needs to be provided. -s or --stalevel STA Level. STA MAC Address needs to be provided. INTERFACE: If Radio Level is selected: -i wifiX or --ifname=wifiX If VAP Level is selected: -i <VAP_name> or --ifname=<VAP_name> STA MAC ADDRESS: Required if STA Level is selected: -m xx:xx:xx:xx:xx:xx or --stamacaddr xx:xx:xx:xx:xx:xx OTHER OPTIONS: -R or --recursive Recursive display -M Mesh stats
Fusiv
apstats for Fusiv is a symlink to the multi-call binary sysutil.
In the Fusiv an AP is a 400 MHz Xtensa Acceleration Processor. On a 7390 there are 6 of them:
- 1 - Eth0 - Ethernet - ethdriver_lkm.ko
- 2 -
Eth1 - 3 -
Eth2 / xDSL - 4 - SEC - VPN / Security - aclap_driver_lkm.ko
- 5 - BM - Buffer Manager - bmdriver_lkm.ko
- 6 -
ADSL / ATM- atmdriver_lkm.ko - 7 - HAP - Hardware / Peripherals - periap_driver_lkm.ko
- 8 -
VDSL- vdsldriver_lkm.ko - 9 - CLAP1 - Classifier - classifier_driver_lkm.ko
- 10 - CLAP2 - Classifier - classifier_driver_lkm.ko
There is also some info about the APs in the old wiki (german).
This command lists the status of each running AP. 7390 fw 6.04 example:
root@fritz:/var/mod/root# apstats Stats for AP # 1 is : =================== ETHERNET AP STATS: rxPkts 127 txPkts 148 hostAttempted 0 hostDelivered 0 txDropped 0 Stats of AP # 2 is read Failed/Not supported Stats for AP # 5 is : =================== BM BUFFER STATS: AP buffers : Used = 1163 Max = 4081 Failed = 0 GetCluster: Trials 20344 Succeded 20342 BM AP STATS: numTakenFromInputQ 24664 numPutToOutputQ 21746 numput2IPCQ 0 numput2APs 0 numToClassify 0 numFreed2BM 0 PPP0 RX Packets: 0 PPP0 RX Bytes: 0 PPP1 RX Packets: 0 PPP1 RX Bytes: 0 Stats for AP # 7 is : =================== PERI AP STATS: rxPkts 0 rxDropped 0 numput2APs 0 numput2Host 0
Excerpt of a strace of this example:
root@fritz:/var/mod/root# strace apstats 2>&1 | grep -e proc -e write open("/proc/sysutil/utilfile", O_RDWR) = 3 write(3, "5 ", 2) = 2 write(1, " Stats for AP # 1 is :\r\n ======="..., 976 Stats for AP # 1 is :
Dependencies
Daily updated index of all dependencies of this command. Last update: 2024-11-15 07:53 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Symlink to | cmd | sysutil | 4 | 4.76 - 6.32 | Multi-call binary providing 26 Fusiv diagnostic and maintenance tools. | Fusiv |
Depends on | lib | ld.so | 37 | 7.01 - 8.00 | Dynamic linker / loader | Linux |
Depends on | lib | libbsd.so | 3 | 7.04 - 8.00 | BSD functions lacking on GNU systems | Linux |
Depends on | lib | libc.so | 57 | 6.52 - 8.00 | Standard C library | Linux |
Depends on | lib | libgcc_s.so | 1 | 6.83 - 6.110 | GCC low-level runtime library | Linux |
Depends on | lib | libnl-3.so | 13 | 7.19 - 8.00 | Netlink-Sockets Core API | Linux |
Depends on | lib | libnl-genl-3.so | 13 | 7.19 - 8.00 | Netlink-Sockets Generic Netlink API | Linux |
Depends on | lib | libpthread.so | 2 | 7.28 - 7.90 | POSIX threading library | Linux |
Depends on | lib | libqca_nl80211_wrapper.so | 13 | 7.19 - 8.00 | Wrapper to the cfg80211 and nl80211 APIs. | QcaWifi |
Depends on | lib | libqca_tools.so | 13 | 7.19 - 8.00 | Helper functions for QcaWifi tools. | QcaWifi |
Depends on | lib | libwlanstats.so | 34 | 6.98 - 8.00 | TODO | Linux |
11 dependencies for this command |
Model-Matrix
Daily updated index of the presence, path and size of this command for each model. Last update: 2024-11-15 05:54 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
Model | Firmware | Path | Size |
---|---|---|---|
FRITZ!Box 3490 (scrpn) | 6.98 - 7.30 | /sbin | 37.8k - 47.6k |
FRITZ!Box 4020 | /sbin | 42.8k | |
FRITZ!Box 4040 | 6.52 - 8.00 | /sbin | 37.5k - 46.5k |
FRITZ!Box 4050 | 7.58 - 7.90 | /sbin | 61.9k - 71.2k |
FRITZ!Box 4060 | 7.29 - 7.90 | /sbin | 54.1k - 71.2k |
FRITZ!Box 5490 (scrpn) | 6.98 - 7.29 | /sbin | 37.8k - 47.6k |
FRITZ!Box 5491 (scrpn) | 6.98 - 7.29 | /sbin | 37.8k - 47.6k |
FRITZ!Box 5590 Fiber (main) | 7.29 - 8.00 | /sbin | 61.9k - 71.2k |
FRITZ!Box 5690 Pro (main) | 7.62 - 7.90 | /sbin | 71.3k |
FRITZ!Box 6430 Cable (atom) | 7.01 - 7.29 | /sbin | 45.3k - 49.0k |
FRITZ!Box 6490 Cable (atom) | 7.00 - 7.51 | /sbin | 45.3k - 53.3k |
FRITZ!Box 6590 Cable (atom) | 6.83 - 7.51 | /sbin | 36.3k - 53.3k |
FRITZ!Box 6591 Cable (arm) | 7.04 - 7.08 | /sbin | 47.2k - 49.6k |
FRITZ!Box 6591 Cable (atom) | 7.04 - 8.00 | /sbin | 45.4k - 68.5k |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | /sbin | 71.1k - 72.0k |
FRITZ!Box 6690 Cable (atom) | 7.28 - 7.90 | /sbin | 64.9k - 71.9k |
FRITZ!Box 6820 LTE v1 (main) | 6.98 - 7.51 | /sbin | 37.8k - 49.1k |
FRITZ!Box 6820 LTE v2 (main) | 6.98 - 7.51 | /sbin | 37.8k - 49.1k |
FRITZ!Box 6820 LTE v3 (main) | 7.19 - 7.57 | /sbin | 37.8k - 49.1k |
FRITZ!Box 6850 LTE | 7.21 - 7.90 | /sbin | 37.5k - 46.7k |
FRITZ!Box 6850 5G | 7.24 - 7.90 | /sbin | 37.5k - 46.7k |
FRITZ!Box 6890 LTE (main) | 6.84 - 7.57 | /sbin | 40.4k - 55.2k |
FRITZ!Box 6890 LTE v1 (main) | 6.84 - 7.57 | /sbin | 40.4k - 55.2k |
FRITZ!Box 6890 LTE v2 (main) | 6.84 - 7.57 | /sbin | 40.4k - 55.2k |
FRITZ!Box Fon WLAN 7340 | 4.83 - 5.05 | /sbin | Link |
FRITZ!Box 7362 SL (main) | 6.98 - 7.18 | /sbin | 42.8k - 47.6k |
FRITZ!Box 7369 (main) | 6.30 - 6.32 | /sbin | Link |
FRITZ!Box Fon WLAN 7390 | 4.81 - 5.22 | /sbin | Link |
FRITZ!Box 7430 (main) | 6.98 - 7.31 | /sbin | 37.8k - 49.2k |
FRITZ!Box 7490 (scrpn) | 6.98 - 7.51 | /sbin | 37.8k - 49.2k |
FRITZ!Box 7510 | 7.30 - 8.00 | /sbin | 61.9k - 71.2k |
FRITZ!Box 7520 | 6.98 - 8.00 | /sbin | 37.5k - 46.7k |
FRITZ!Box 7520 v2 (main) | 7.30 - 8.00 | /sbin | 37.5k |
FRITZ!Box 7530 | 6.98 - 8.00 | /sbin | 37.5k - 46.7k |
FRITZ!Box 7560 (main) | 6.98 - 7.30 | /sbin | 41.7k - 51.3k |
FRITZ!Box 7580 (main) | 6.53 - 7.30 | /sbin | 40.4k - 55.2k |
FRITZ!Box 7583 (main) | 7.01 - 7.59 | /sbin | 41.7k - 55.2k |
FRITZ!Box 7583 VDSL (main) | 7.19 - 8.00 | /sbin | 41.7k - 55.2k |
FRITZ!Box 7590 (main) | 6.83 - 8.00 | /sbin | 40.4k - 55.3k |
FRITZ!Box 7690 | 7.61 - 7.90 | /sbin | 71.2k - 71.3k |
FRITZ!Smart Gateway | 7.52 - 7.63 | /sbin | 61.9k - 71.1k |
FRITZ!WLAN Repeater 310 A | 6.98 - 7.16 | /sbin | 42.8k - 47.6k |
FRITZ!WLAN Repeater 310 B | 6.98 - 7.16 | /sbin | 42.8k - 47.6k |
FRITZ!WLAN Repeater 450E | 6.98 - 7.15 | /sbin | 42.8k - 47.6k |
FRITZ!Repeater 600 | 7.11 - 7.58 | /sbin | 37.8k - 49.1k |
FRITZ!Repeater 600 v2 | 7.27 - 7.58 | /sbin | 37.8k |
FRITZ!WLAN Repeater 1160 | 6.98 - 7.15 | /sbin | 42.8k - 47.6k |
FRITZ!Repeater 1200 | 7.11 - 7.58 | /sbin | 37.5k - 46.8k |
FRITZ!Repeater 1200 AX | 7.30 - 7.58 | /sbin | 61.9k - 62.4k |
FRITZ!WLAN Repeater 1750E | 6.98 - 7.32 | /sbin | 37.8k - 49.1k |
FRITZ!Repeater 2400 | 7.12 - 7.58 | /sbin | 37.8k - 49.1k |
FRITZ!Repeater 3000 | 6.98 - 7.58 | /sbin | 37.5k - 46.8k |
FRITZ!Repeater 3000 AX | 7.41 - 7.58 | /sbin | 61.9k |
FRITZ!Repeater 6000 | 7.19 - 7.58 | /sbin | 54.1k - 61.9k |
FRITZ!WLAN Repeater DVB-C | 6.98 - 7.04 | /sbin | 42.8k |
FRITZ!Powerline 540E | 6.98 - 7.15 | /sbin | 42.8k - 47.6k |
FRITZ!Powerline 546E | 6.98 - 7.15 | /sbin | 42.8k - 47.6k |
FRITZ!Powerline 1240 AX | 7.57 - 7.58 | /sbin | 61.9k |
FRITZ!Powerline 1240E | 7.16 | /sbin | 42.8k - 47.6k |
FRITZ!Powerline 1260E | 6.90 - 7.58 | /sbin | 37.5k - 46.7k |
FRITZ!Powerline 1260 | 7.27 - 7.58 | /sbin | 37.5k |
Speedport W 722V | 4.76 - 4.79 | /sbin | Link |
62 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-11-15 07:53 GMT.
Firmware | Symbol |
---|---|
7.01 - 8.00 | apstats_config_init |
7.01 - 8.00 | apstats_config_populate |
6.53 - 8.00 | main |
7.11 - 8.00 | nodelevel_display_extended_stats |
7.01 - 8.00 | sys_ifnames_add |
7.01 - 8.00 | sys_ifnames_deinit |
7.01 - 8.00 | sys_ifnames_extend |
7.01 - 8.00 | sys_ifnames_init |
8 symbols for this command |