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:svctl
BoxMatrix >> Shell-Commands >> svctl | @ 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
Command: | svctl - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> AVM-Commands - Origin: AVM | ||||||
Path: | Release: /bin Lab+Rel: /bin | ||||||
Properties: | Size: 6.1k - 13.6k - Firmware: 7.19 - 8.00 | ||||||
Function: | supervisor service control. |
Goto: Source - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
svctl controls the services managed by supervisor. More details there.
fw 7.29 help - run without arguments to get help:
root@fritz2:/var/mod/root# svctl -? Usage: svctl [CMD] [NAME] [CMD] notify reload start status stop shutdown [NAME] service name
fw 7.39 help - run without arguments to get help:
root@fritz:/var/mod/root# svctl Usage: svctl status [<services>] svctl start|reload|stop <services> svctl notify <service> svctl --quiet is-active|is-failed <service> svctl shutdown
The notify
command uses supervisor.notify.socket to inform supervisor about a successfully started service.
This is used to write notify type supervisor services in scripts.
The remaining commands are sent to supervisor.ctrl.socket.
Examples
svctl stop wifi
replaces:
/etc/init.d/rc.wlan stop
Global status fw 7.29 - this is from a mesh master, online on DSL:
root@fritz1:/var/mod/root# svctl status [svctl] aha.service active [svctl] apparmor.service inactive [svctl] avmipcd.service active [svctl] avmnexusd.service active [svctl] boxnotify.service inactive [svctl] capi-config.service inactive [svctl] capi.service inactive [svctl] capitcp.service inactive [svctl] config.service inactive [svctl] configd.service inactive [svctl] cortexa9.service inactive [svctl] debug.service inactive [svctl] default-files.service inactive [svctl] devnodes.service inactive [svctl] disable_ipv6.service inactive [svctl] dsl.service active [svctl] environment.service inactive [svctl] filesystem.service inactive [svctl] flash-update.service inactive [svctl] kpid.service active [svctl] meshd.service active [svctl] meshd_config.service inactive [svctl] mobiled.service inactive [svctl] modload.service inactive [svctl] modules-load.service inactive [svctl] net.service active [svctl] oemcheck.service failed [svctl] piglet.service inactive [svctl] plcd.service failed [svctl] printer.service inactive [svctl] psetd.service inactive [svctl] psupport-init-prenet.service inactive [svctl] ptest_release.service inactive [svctl] rcmod.service inactive [svctl] rekey.service inactive [svctl] run_clock.service inactive [svctl] smb2.service active [svctl] spindown.service inactive [svctl] sysctl.service inactive [svctl] tffs.service inactive [svctl] udev.service active [svctl] udevadm.service inactive [svctl] untrustedd.service active [svctl] usb.service inactive [svctl] voip.service active [svctl] voipkpid.service active [svctl] watchdog.service inactive
As you can see status is of no big help yet, most services are listed inactive. Same list filtered:
root@fritz1:/var/mod/root# svctl status | grep ' active' [svctl] aha.service active [svctl] avmipcd.service active [svctl] avmnexusd.service active [svctl] dsl.service active [svctl] kpid.service active [svctl] meshd.service active [svctl] net.service active [svctl] smb2.service active [svctl] udev.service active [svctl] untrustedd.service active [svctl] voip.service active [svctl] voipkpid.service active
This will likely change in future when more services get migrated from oneshot to notify type.
However, there are better means to get status info in FRITZ!OS.
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/svctl | grep -e '\.c$' -e '\.cpp$' <empty>
Dependencies
Daily updated index of all dependencies of this command. Last update: 2025-02-01 07:40 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 | ld.so | 35 | 7.19 - 8.00 | Dynamic linker / loader | Linux |
Depends on | lib | libbacktrace.so | 65 | 7.24 - 8.00 | Crash handler and logger | AVM |
Depends on | lib | libbsd.so | 9 | 7.19 - 8.00 | BSD functions lacking on GNU systems | Linux |
Depends on | lib | libc.so | 67 | 7.19 - 8.00 | Standard C library | Linux |
Depends on | lib | libsvctl.so | 67 | 7.19 - 8.00 | supervisor notification library | AVM |
Depends on | lib | libwdt.so | 55 | 7.19 - 7.32 | AVM-Watchdogs management API | AVM |
6 dependencies for this command |
Model-Matrix
Daily updated index of the presence, path and size of this command for each model. Last update: 2025-02-01 05:39 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 (main) | 7.27 - 7.30 | /bin | 12.3k |
FRITZ!Box 3490 (scrpn) | 7.27 - 7.30 | /bin | 12.3k |
FRITZ!Box 4040 | 7.24 - 8.00 | /bin | 9.5k - 12.1k |
FRITZ!Box 4050 | 7.58 - 7.90 | /bin | 9.4k |
FRITZ!Box 4060 | 7.29 - 7.90 | /bin | 9.4k - 12.1k |
FRITZ!Box 5490 (main) | 7.27 - 7.29 | /bin | 12.3k |
FRITZ!Box 5490 (scrpn) | 7.27 - 7.29 | /bin | 12.3k |
FRITZ!Box 5491 (main) | 7.27 - 7.29 | /bin | 12.3k |
FRITZ!Box 5491 (scrpn) | 7.27 - 7.29 | /bin | 12.3k |
FRITZ!Box 5530 Fiber (boot) | 7.21 - 7.81 | /bin | 9.9k - 12.1k |
FRITZ!Box 5530 Fiber (main) | 7.21 - 8.00 | /bin | 9.9k - 12.0k |
FRITZ!Box 5590 Fiber (boot) | 7.29 - 7.81 | /bin | 9.9k - 12.0k |
FRITZ!Box 5590 Fiber (main) | 7.29 - 8.00 | /bin | 9.4k - 12.1k |
FRITZ!Box 5590 Fiber (prx) | 7.29 - 8.00 | /bin | 9.9k - 12.0k |
FRITZ!Box 5690 Pro (main) | 7.62 | /bin | 9.4k |
FRITZ!Box 5690 Pro (rtl) | 7.62 | /bin | 10.1k |
FRITZ!Box 6430 Cable (arm) | 7.29 | /bin | 8.6k |
FRITZ!Box 6430 Cable (atom) | 7.29 | /bin | 11.9k |
FRITZ!Box 6490 Cable (arm) | 7.19 - 7.51 | /bin | 6.1k - 8.6k |
FRITZ!Box 6490 Cable (atom) | 7.19 - 7.51 | /bin | 9.3k - 11.9k |
FRITZ!Box 6590 Cable (arm) | 7.19 - 7.57 | /bin | 6.1k - 8.6k |
FRITZ!Box 6590 Cable (atom) | 7.19 - 7.51 | /bin | 9.3k - 11.9k |
FRITZ!Box 6591 Cable (arm) | 7.19 - 8.00 | /bin | 9.6k - 13.3k |
FRITZ!Box 6591 Cable (atom) | 7.19 - 8.00 | /bin | 11.6k - 13.6k |
FRITZ!Box 6660 Cable (arm) | 7.19 - 8.00 | /bin | 9.6k - 13.3k |
FRITZ!Box 6660 Cable (atom) | 7.19 - 8.00 | /bin | 11.6k - 13.6k |
FRITZ!Box 6670 Cable (arm) | 7.61 - 7.90 | /bin | 9.6k |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | /bin | 13.5k - 13.6k |
FRITZ!Box 6690 Cable (arm) | 7.28 - 7.90 | /bin | 9.6k - 13.3k |
FRITZ!Box 6690 Cable (atom) | 7.28 - 7.90 | /bin | 12.1k - 13.6k |
FRITZ!Box 6820 LTE v1 (main) | 7.19 - 7.59 | /bin | 10.1k - 12.3k |
FRITZ!Box 6820 LTE v2 (main) | 7.19 - 7.59 | /bin | 10.1k - 12.3k |
FRITZ!Box 6820 LTE v3 (main) | 7.19 - 7.57 | /bin | 10.1k - 12.3k |
FRITZ!Box 6820 LTE v4 | 7.59 | /bin | 10.1k |
FRITZ!Box 6850 LTE | 7.21 - 7.90 | /bin | 9.5k - 12.1k |
FRITZ!Box 6850 5G | 7.24 - 7.90 | /bin | 9.5k - 12.1k |
FRITZ!Box 6890 LTE (main) | 7.21 - 7.57 | /bin | 9.9k - 12.0k |
FRITZ!Box 6890 LTE v1 (main) | 7.21 - 7.57 | /bin | 9.9k - 12.0k |
FRITZ!Box 6890 LTE v2 (main) | 7.21 - 7.57 | /bin | 9.9k - 12.0k |
FRITZ!Box 7430 (main) | 7.21 - 7.31 | /bin | 12.2k - 12.3k |
FRITZ!Box 7490 (main) | 7.19 - 7.51 | /bin | 10.1k - 12.3k |
FRITZ!Box 7490 (scrpn) | 7.19 - 7.51 | /bin | 10.1k - 12.3k |
FRITZ!Box 7510 | 7.30 - 8.00 | /bin | 9.3k - 9.4k |
FRITZ!Box 7520 | 7.21 - 8.00 | /bin | 9.5k - 12.1k |
FRITZ!Box 7520 v2 (main) | 7.30 - 8.00 | /bin | 9.5k - 12.1k |
FRITZ!Box 7530 | 7.19 - 8.00 | /bin | 9.5k - 12.1k |
FRITZ!Box 7530 AX | 7.20 - 8.00 | /bin | 9.6k - 13.1k |
FRITZ!Box 7560 (main) | 7.24 - 7.30 | /bin | 12.0k |
FRITZ!Box 7580 (main) | 7.21 - 7.30 | /bin | 12.0k |
FRITZ!Box 7583 (main) | 7.21 - 7.59 | /bin | 9.9k - 12.0k |
FRITZ!Box 7583 VDSL (main) | 7.19 - 8.00 | /bin | 9.9k - 12.0k |
FRITZ!Box 7590 (main) | 7.19 - 8.00 | /bin | 9.9k - 12.0k |
FRITZ!Box 7590 AX (main) | 7.19 - 8.00 | /bin | 9.9k - 12.0k |
FRITZ!Box 7690 | 7.61 - 7.90 | /bin | 9.4k |
FRITZ!Smart Gateway | 7.52 - 7.63 | /bin | 9.4k |
FRITZ!Repeater 600 | 7.21 - 7.58 | /bin | 10.1k - 12.3k |
FRITZ!Repeater 600 v2 | 7.27 - 7.58 | /bin | 10.1k - 12.3k |
FRITZ!Repeater 1200 | 7.19 - 7.58 | /bin | 9.5k - 12.1k |
FRITZ!Repeater 1200 AX | 7.30 - 7.58 | /bin | 9.3k - 9.4k |
FRITZ!WLAN Repeater 1750E | 7.31 - 7.32 | /bin | 12.2k - 12.3k |
FRITZ!Repeater 2400 | 7.19 - 7.58 | /bin | 10.1k - 12.3k |
FRITZ!Repeater 3000 | 7.19 - 7.58 | /bin | 9.5k - 12.1k |
FRITZ!Repeater 3000 AX | 7.41 - 7.58 | /bin | 9.4k |
FRITZ!Repeater 6000 | 7.19 - 7.58 | /bin | 9.4k - 12.1k |
FRITZ!Powerline 1240 AX | 7.57 - 7.58 | /bin | 9.4k |
FRITZ!Powerline 1260E | 7.21 - 7.58 | /bin | 9.5k - 12.1k |
FRITZ!Powerline 1260 | 7.27 - 7.58 | /bin | 9.5k - 12.1k |
67 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2025-02-01 07:40 GMT.
Firmware | Symbol |
---|---|
7.19 - 8.00 | append_suffix |
7.19 - 8.00 | main |
7.19 - 8.00 | print_result |
7.39 - 8.00 | transaction |
4 symbols for this command |