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:debug monitor (chipcmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> debug_monitor (chipcmd) @ 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

Info
  
Name-Collision - multiple objects in this wiki use the name debug_monitor!
debug_monitor (chipcmd) Simple Broadcom service restart monitor.
debug_monitor (process) Process running debug_monitor

Chipset-Command

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

Details

debug_monitor is a simple Broadcom service restart monitor. It is a minimalistic watchdog alike solution.
It monitors registered services for being in bad state or killed and restarts them if required.

A service which wants to get monitored registers through the libshared.so function dm_register_app_restart_info.
It unregisters using dm_unregister_app_restart_info on graceful exit, similar to a watchdog handling.

The registration code can be found at the bottom of this unrelated source. It creates a file /tmp/dm/<pid of the service>
containing the following infos explaining how to restart the service:

  • <dependent_services>\n - may be empty
  • <commandline> - command and possible space delimited args

debug_monitor then monitors process activity of each registered service at /proc/<service pid> and restarts it if required.

Dependencies

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

Relation Typ Object Mod Firmware Info Origin
Runs as proc debug_monitor (process) 1* 7.20 - 7.39 Process running debug_monitor Broadcom
Depends on lib ld.so 1 7.20 - 8.00 Dynamic linker / loader Linux
Depends on lib libbcm_boardctl.so 1 7.20 - 8.00 Simple Broadcom board control functions Broadcom
Depends on lib libbcm_flashutil.so 1 7.20 - 8.00 Broadcom flash updater utility Broadcom
Depends on lib libbcm_util.so 1 7.20 - 8.00 Broadcom logging and environmental info Broadcom
Depends on lib libc.so 1 7.20 - 8.00 Standard C library Linux
Depends on lib libgcc_s.so 1 7.20 - 8.00 GCC low-level runtime library Linux
Depends on lib libgen_util.so 1 7.20 - 8.00 Generic Broadcom utility functions. Broadcom
Depends on lib libnvram.so 1 7.20 - 8.00 Broadcom persistent storage of [WLAN] configuration Broadcom
Depends on lib libpthread.so 1 7.20 - 8.00 POSIX threading library Linux
Depends on lib libshared.so 1 7.20 - 8.00 Broadcom shared helper functions Broadcom
Depends on lib libsys_util.so 1 7.20 - 8.00 Broadcom system utilities Broadcom
12 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-12-23 05:44 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 7530 AX 7.20 - 8.00 /usr/sbin 9.4k
1 model uses this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-12-23 07:59 GMT.

Firmware Symbol
7.20 - 7.31 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.