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.

0
U

Property:testdaemon

From BoxMatrix
(Redirected from testdaemon)


BoxMatrix >> Shell-Commands >> testdaemon @ 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

AVM-Command

Goto:   Endpoints  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

testdaemon is a daemon without any functionality besides testing avmipc_command features inherited from the libraries
libavmcsock.so and libewnwlinux.so. You can start it as an independent playground for aicmd and the features of both libs.

fw 7.39 help:

root@fritz:/var/mod/root# testdaemon -?

usage: testdaemon [options]

options:
  -?                 - print this help
  -f                 - run in forground. (NOTSET)
  -s                 - stop daemon. (NOTSET)
  -v                 - verbose. (NOTSET)
  -p STRING          - Pidfile. ("/var/run/testdaemon.pid")
  -I                 - send SIGHUP to running daemon. (NOTSET)
  -D STRING          - switch debug logs on. (FUNC)

start server: testdaemon
stop server : testdaemon -s

Endpoints

aicmd endpoint(s) provided by testdaemon, with these functions: (fw 7.39)

root@fritz:/var/mod/root# aicmd testdaemon

# provided by testdaemon: - fw 7.39+

HELP                                     - show help
SLABDUMP                                 - show slab allocation
SLABSHOW                                 - show slab information
QUIT                                     - disconnect

# provided by libewnwlinux.so: - fw 7.01+

ewnwlinux show csockshell                - show shells running
ewnwlinux show genetlink                 - show gerneric netlink families

# provided by libewnwlinux.so: - fw 7.90+

ewnwlinux netlink show                   - show internal information
ewnwlinux netlink getroute [address]     - get route for inet address
ewnwlinux netlink interfaces             - show interfaces
ewnwlinux netlink routes [ 4 | 6 ]       - show routes

# provided by libavmcsock.so: - fw 7.01+

avmcsock show csock                      - show all csock
avmcsock show dnsconfig                  - show all dns context
avmcsock show timercb                    - show all timer
avmcsock show debughandles               - show all debughandles
avmcsock show cprocess                   - show all processes
avmcsock set debug                       - set debug flags

# provided by libavmcsock.so: - fw 7.29+

avmcsock show cbcontext                  - show all cbdata
avmcsock show daemon                     - show daemon status
avmcsock show cbuf                       - show cbuf status

# provided by libavmcsock.so: - fw 7.39+

avmcsock getsymbol <address>             - get symbol for address
avmcsock show dnsglobal                  - show all dns global values
avmcsock show dnscache                   - show cache
avmcsock show dnsqueries                 - show all pending queries
avmcsock show avmipc [endpoint shmatch]  - show avmipc events and states
avmcsock ctimer show                     - show all timer
avmcsock ctimer overview                 - show ctimer overview
avmcsock iotrace format unctrl|hexdump   - set format for csock iotrace
avmcsock iotrace file                    - enable iotrace to file
avmcsock iotrace enable                  - enable iotrace via debugmsg
avmcsock iotrace disable                 - disable iotrace
avmcsock iotrace match help|<match>      - show allowed matches or set match
avmcsock iotrace reset                   - remove all matches
avmcsock iotrace show                    - show configuration

# provided by libavmcsock.so: - fw 7.90+

avmcsock show signals                    - show signal handler
avmcsock show connector [cache|stats]    - show connector information
avmcsock show clogger                    - show clogger information
avmcsock set clogmod [ <module> [ '.' <submodule ] ... ] [ '=' <level> ]
                                         - set clogmod log level
avmcsock slab check                      - red zone/free check
avmcsock slab reap [heavy]               - call slab_reap/slab_reap_heavy
avmcsock slab dump [long]                - show slab allocation
avmcsock slab show                       - show slab information
avmcsock slab ewma [show|activate|deactivate|reset]
                                         - show average allocates/freed per second
avmcsock avmipc notifier [endpoint shmatch]
                                         - show registered notifier
avmcsock avmipc set [endpoint shmatch]   - show states/events sent
avmcsock avmipc csv [endpoint shmatch]   - show states/events sent and listing as csv

Source

The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.39 source files:

$ strings /bin/testdaemon | grep -e '\.c$' -e '\.cpp$'

<empty>  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-04-19 07:32 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Depends on lib libavmcsock.so 47 7.39 - 7.90 Networking, I/O and helper functions AVM
Depends on lib libavmwdt.so 8 7.59 - 7.90 AVM-Watchdogs management API AVM
Depends on lib libc.so 47 7.39 - 7.90 Standard C library Linux
Depends on lib libdl.so 40 7.39 - 7.90 Dynamic linking library Linux
Depends on lib libewnwlinux.so 47 7.39 - 7.90 Linux networking functions AVM
Depends on lib libpthread.so 40 7.39 - 7.90 POSIX threading library Linux
Depends on lib librt.so 40 7.39 - 7.90 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 47 7.39 - 7.90 supervisor notification library AVM
Depends on lib libwdt.so 43 7.39 - 7.80 AVM-Watchdogs management API AVM
Depends on lib libz.so 47 7.39 - 7.90 Zlib compressor / decompressor Linux
10 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-19 05:14 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) label in the Model column shows which CPU is meant for models with multiple Linux instances.
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 4020 7.39 /bin 13.6k
FRITZ!Box 4040 7.39 - 7.51 /bin 9.6k - 13.6k
FRITZ!Box 4050 7.57 /bin 9.6k
FRITZ!Box 4060 7.39 - 7.57 /bin 9.5k - 13.6k
FRITZ!Box 5530 Fiber (main) 7.39 - 7.70 /bin 10.3k - 13.6k
FRITZ!Box 5590 Fiber (arm) 7.39 - 7.90 /bin 9.5k - 13.6k
FRITZ!Box 5690 Pro (arm) 7.59 /bin 9.5k
FRITZ!Box 6490 Cable (arm) 7.39 - 7.51 /bin 9.4k - 13.6k
FRITZ!Box 6490 Cable (atom) 7.39 - 7.51 /bin 9.4k - 9.5k
FRITZ!Box 6590 Cable (arm) 7.39 - 7.51 /bin 9.4k - 13.6k
FRITZ!Box 6590 Cable (atom) 7.39 - 7.51 /bin 9.4k - 9.5k
FRITZ!Box 6591 Cable (arm) 7.39 - 7.57 /bin 13.6k - 13.7k
FRITZ!Box 6591 Cable (atom) 7.39 - 7.57 /bin 13.6k - 13.7k
FRITZ!Box 6660 Cable (arm) 7.39 - 7.57 /bin 13.6k - 13.7k
FRITZ!Box 6660 Cable (atom) 7.39 - 7.57 /bin 13.6k - 13.7k
FRITZ!Box 6670 Cable (arm) 7.61 /bin 13.7k
FRITZ!Box 6670 Cable (atom) 7.61 /bin 13.7k
FRITZ!Box 6690 Cable (arm) 7.39 - 7.57 /bin 13.6k - 13.7k
FRITZ!Box 6690 Cable (atom) 7.39 - 7.57 /bin 13.6k - 13.7k
FRITZ!Box 6820 LTE v1 7.39 - 7.51 /bin 10.4k - 13.6k
FRITZ!Box 6820 LTE v2 7.39 - 7.51 /bin 10.4k - 13.6k
FRITZ!Box 6820 LTE v3 7.39 - 7.51 /bin 10.4k - 10.5k
FRITZ!Box 6840 LTE 7.39 /bin 13.6k
FRITZ!Box 6850 LTE 7.39 - 7.51 /bin 9.6k - 13.6k
FRITZ!Box 6850 5G 7.39 - 7.51 /bin 9.6k - 13.6k
FRITZ!Box 6890 LTE 7.39 - 7.51 /bin 10.3k - 13.6k
FRITZ!Box 6890 LTE v1 7.39 - 7.51 /bin 10.3k - 13.6k
FRITZ!Box 6890 LTE v2 7.39 - 7.51 /bin 10.3k - 13.6k
FRITZ!Box 7272 7.39 /bin 13.6k
FRITZ!Box 7430 7.39 /bin 13.6k
FRITZ!Box 7490 (main) 7.39 - 7.51 /bin 10.4k - 13.6k
FRITZ!Box 7510 7.39 - 7.51 /bin 9.5k
FRITZ!Box 7520 7.39 - 7.51 /bin 9.6k - 13.6k
FRITZ!Box 7520 v2 (arm) 7.39 - 7.51 /bin 9.6k - 13.6k
FRITZ!Box 7530 7.39 - 7.51 /bin 9.6k - 13.6k
FRITZ!Box 7530 AX 7.39 - 7.90 /bin 9.7k - 13.8k
FRITZ!Box 7560 7.39 /bin 13.6k
FRITZ!Box 7590 7.39 - 7.90 /bin 10.2k - 14.5k
FRITZ!Box 7590 AX 7.39 - 7.90 /bin 10.2k - 14.5k
FRITZ!Box 7690 7.59 /bin 9.5k
FRITZ!Repeater 600 7.39 /bin 13.6k
FRITZ!Repeater 1200 7.39 /bin 13.6k
FRITZ!WLAN Repeater 1750E 7.39 /bin 13.6k
FRITZ!Repeater 2400 7.39 /bin 13.6k
FRITZ!Repeater 3000 7.39 /bin 13.6k
FRITZ!Repeater 3000 AX 7.39 /bin 13.6k
FRITZ!Powerline 1260E 7.39 /bin 13.6k
47 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-19 07:32 GMT.

Firmware Symbol
7.39 - 7.90 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

t