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:bb shm manager (avmcmd)
BoxMatrix >> Shell-Commands >> bb_shm_manager (avmcmd) | @ 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 |
Name-Collision - multiple objects in this wiki use the name bb_shm_manager!
|
AVM-Command
Command: | bb_shm_manager (avmcmd) - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> AVM-Commands - Origin: AVM | ||||||
Path: | Release: /usr/sbin Lab+Rel: /usr/sbin | ||||||
Properties: | Size: 33.8k - 120k - Firmware: 7.29 - 8.00 | ||||||
Function: | BroadBand shared memory manager. |
Goto: Examples - Endpoints - Events - Source - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
bb_shm_manager is the Broadband shared memory manager.
It is used for DSL, Fiber and DOCSIS, which all use sybsystems with own processors for their respective access technology.
For efficient Inter-CPU data transfer shared memory is used which is accessible from both sides.
bb_shm_manager provides an interface for accessing this memory for diagnostic purposes, mainly by aicmd.
fw 7.39 help:
root@fritz:/var/mod/root# bb_shm_manager -h Usage: bb_shm_manager [-D] -D Run as a daemon
Examples
Endpoints
aicmd endpoint(s) provided by bb_shm_manager, with these functions: (fw 7.39)
root@fritz:/var/mod/root# aicmd bb_shm_manager # provided by bb_shm_manager: - fw 7.39+ HELP - show help SLABDUMP - show slab allocation SLABSHOW - show slab information QUIT - disconnect get_overview_info - lua overview info get_fiber_optic - get fiber optic info get_arch_info - get basic info from arch get_fiber_equipment - get fiber equipment info get_fiber_base_info - get fiber base info get_fiber_pon - get fiber pon info get_fiber_week_per_hour - get fiber stats week per hour get_fiber_iop_settings - get fiber iop settings from arch # OR: get_iop_settings - get iop settings from arch get_fiber_day_per_10minutes - get fiber stats day per 10 minutes get_fiber_stats_total - get fiber stats total get_fiber_ext_vlan_rules - get fiber extended vlan rules get_cable_spectrum - get cable spectrum get_advised_or_expected_values - get dsl smart and dsl dr values get_dsl_atm_stats - get dsl atm stats get_dsl_dslam_infos - get dsl dsl infos file get_fiber_diag - get bzip2-packed fiber diagnoses file file get_pon_img - get pon image file file get_dsl_diag - get bzip2-packed dsl diagnoses file bb_booked_datarate - set booked datarate dsl_port_independent_info - get all port independent infos of dsl supportdata get - get supportdata # 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
Events
Daily updated index of AVM-Events and AVMIPC-Datastore nodes affecting this command. Last update: 2023-12-10 05:13 GMT.
The owners of Event-Sinks and Event-Sources are manual research, which may be incomplete or even wrong.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
A **
in the Mod
column marks info from Supportdata2 probes, which by their nature will stay way more incomplete.
A -
in the Mod
column marks manual research, the Firmware
then shows where the item occurs, not the Relation
.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Sink | evsink | bb_shm_manager (evsink) | 8* | 7.39 - 7.51 | Event-Sink of bb_shm_manager | AVM |
Receives | event | dsl_status | 8* | 7.39 - 7.51 | Broadband modem sync details | AVM |
Sink | evsink | bb_shm_manager_dsl | 3* | 7.27 - 7.39 | Event-Sink of bb_shm_manager | AVM |
Receives | event | dsl_status | 3* | 7.27 - 7.39 | Broadband modem sync details | AVM |
Sink | evsink | bb_shm_manager_fiber | 1* | 7.27 - 7.30 | Event-Sink of bb_shm_manager | AVM |
Receives | event | dsl_status | 1* | 7.27 - 7.30 | Broadband modem sync details | AVM |
Endpoint | sock | me_bb_shm_manager.ctl | 8* | 7.27 - 7.51 | avmipc_command endpoint of bb_shm_manager | AVM |
Listens to | avmipc | aicmd_listener | 5** | 7.39 - 7.51 | Special event covering all aicmd compatible listeners. | AVM |
8 event relations for this command |
The bb_shm_manager_dsl and bb_shm_manager_fiber sinks have been united since 7.39-96976 to the bb_shm_manager sink.
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 /usr/sbin/bb_shm_manager | grep -e '\.c$' -e '\.cpp$' <empty>
Dependencies
Daily updated index of all dependencies of this command. Last update: 2024-12-21 07:44 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Started by | serv | bb_shm_manager.service | 20 | 7.39 - 8.00 | supervisor service for bb_shm_manager. | AVM |
Runs as | proc | bb_shm_manager (process) | 13* | 7.27 - 8.00 | Process running bb_shm_manager | AVM |
Registers | wdog | bb_shm_manager (watchdog) | 14* | 7.27 - 8.00 | Watchdog for bb_shm_manager | AVM |
Serving | sock | me_bb_shm_manager.ctl | 10* | 7.27 - 7.81 | avmipc_command endpoint of bb_shm_manager | AVM |
Serving | sock | me_bb_shm_manager_dsl.ctl | 6* | 7.60 - 8.00 | avmipc_command endpoint of bb_shm_manager | AVM |
Depends on | lib | ld.so | 9 | 7.39 - 8.00 | Dynamic linker / loader | Linux |
Depends on | lib | lib_bb_serialize.so | 23 | 7.29 - 8.00 | Structures for Brodband messages | AVM |
Depends on | lib | libatomic.so | 23 | 7.39 - 8.00 | GNU atomic library | Linux |
Depends on | lib | libavm_event.so | 23 | 7.29 - 8.00 | AVM-Events management API | AVM |
Depends on | lib | libavmcsock.so | 23 | 7.29 - 8.00 | Networking, I/O and helper functions | AVM |
Depends on | lib | libavmwdt.so | 1 | 7.61 - 7.63 | AVM-Watchdogs management API | AVM |
Depends on | lib | libbacktrace.so | 23 | 7.29 - 8.00 | Crash handler and logger | AVM |
Depends on | lib | libbb.so | 23 | 7.29 - 8.00 | Broadband connection information helpers | AVM |
Depends on | lib | libboxlib.so | 9 | 7.29 - 7.39 | Box status, logging and statistics functions | AVM |
Depends on | lib | libc.so | 23 | 7.29 - 8.00 | Standard C library | Linux |
Depends on | lib | libdslsmiface.so | 23 | 7.29 - 8.00 | DSL subsystem shared memory API | AVM |
Depends on | lib | libdslutils.so | 23 | 7.29 - 8.00 | Broadband frontend information helpers | AVM |
Depends on | lib | libewnwlinux.so | 23 | 7.29 - 8.00 | Linux networking functions | AVM |
Depends on | lib | libgcc_s.so | 23 | 7.29 - 8.00 | GCC low-level runtime library | Linux |
Depends on | lib | libm.so | 5 | 7.39 - 8.00 | C math library | Linux |
Depends on | lib | libminneapolis.so | 1 | 7.29 - 7.30 | Minneapolis datastore encoder / decoder | AVM |
Depends on | lib | libpthread.so | 5 | 7.39 - 8.00 | POSIX threading library | Linux |
Depends on | lib | libstdc++.so | 23 | 7.29 - 8.00 | GNU C++ library | Linux |
Depends on | lib | libwdt.so | 19 | 7.29 - 7.81 | AVM-Watchdogs management API | AVM |
24 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-21 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 5530 Fiber (main) | 7.39 - 8.00 | /usr/sbin | 86.8k - 120k |
FRITZ!Box 5590 Fiber (prx) | 7.29 - 8.00 | /usr/sbin | 64.9k - 120k |
FRITZ!Box 5690 Pro (main) | 7.62 | /usr/sbin | 41.8k |
FRITZ!Box 5690 Pro (rtl) | 7.62 | /usr/sbin | 87.0k |
FRITZ!Box 6591 Cable (arm) | 7.39 - 8.00 | /usr/sbin | 33.8k - 70.6k |
FRITZ!Box 6660 Cable (arm) | 7.39 - 8.00 | /usr/sbin | 33.8k - 70.6k |
FRITZ!Box 6670 Cable (arm) | 7.61 - 7.90 | /usr/sbin | 33.8k - 62.5k |
FRITZ!Box 6690 Cable (arm) | 7.39 - 7.90 | /usr/sbin | 33.8k - 70.6k |
FRITZ!Box 6850 LTE | 7.39 | /usr/sbin | 108k |
FRITZ!Box 6890 LTE (main) | 7.39 - 7.57 | /usr/sbin | 56.5k - 112k |
FRITZ!Box 6890 LTE v1 (main) | 7.39 - 7.57 | /usr/sbin | 56.5k - 112k |
FRITZ!Box 6890 LTE v2 (main) | 7.39 - 7.57 | /usr/sbin | 56.5k - 112k |
FRITZ!Box 7490 (main) | 7.51 | /usr/sbin | 100k |
FRITZ!Box 7510 | 7.39 - 8.00 | /usr/sbin | 41.8k - 78.0k |
FRITZ!Box 7520 | 7.39 - 8.00 | /usr/sbin | 41.9k - 78.0k |
FRITZ!Box 7520 v2 (main) | 7.39 - 8.00 | /usr/sbin | 41.9k - 78.0k |
FRITZ!Box 7530 | 7.39 - 8.00 | /usr/sbin | 37.7k - 78.0k |
FRITZ!Box 7530 AX | 7.39 - 8.00 | /usr/sbin | 45.9k - 78.0k |
FRITZ!Box 7583 (main) | 7.50 - 7.59 | /usr/sbin | 112k |
FRITZ!Box 7583 VDSL (main) | 7.59 - 8.00 | /usr/sbin | 61.7k - 112k |
FRITZ!Box 7590 (main) | 7.39 - 8.00 | /usr/sbin | 56.5k - 112k |
FRITZ!Box 7590 AX (main) | 7.39 - 8.00 | /usr/sbin | 56.5k - 112k |
FRITZ!Box 7690 | 7.61 - 7.90 | /usr/sbin | 41.8k |
23 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-12-21 07:44 GMT.
Firmware | Symbol |
---|---|
7.62 - 8.00 | AicmdModule::AicmdModule |
7.62 - 8.00 | AicmdModule::send_data |
7.62 - 8.00 | BbShmAdapter::BbShmAdapter |
7.62 - 8.00 | BbShmAdapter::avm_event_csock_read |
7.62 - 8.00 | BbShmAdapter::avm_event_listener_thread |
7.62 - 8.00 | BbShmAdapter::csock_close |
7.62 - 8.00 | BbShmAdapter::csock_close_cb |
7.62 - 8.00 | BbShmAdapter::csock_read_cb |
7.62 - 8.00 | BbShmAdapter::deinit |
7.62 - 8.00 | BbShmAdapter::do_update_shared_memory |
7.62 - 8.00 | BbShmAdapter::getInstance |
7.62 - 8.00 | BbShmAdapter::get_shm |
7.62 - 8.00 | BbShmAdapter::init |
7.62 - 8.00 | BbShmAdapter::update_shared_memory |
7.90 - 8.00 | DslAicmdModule::copy_data_from_shm |
7.90 - 8.00 | DslAicmdModule::get_module_description |
7.62 - 8.00 | FiberAicmdModule::copy_data_from_shm |
7.62 - 8.00 | FiberAicmdModule::get_module_description |
7.62 - 8.00 | FileAicmdModule::get_file |
7.62 - 8.00 | FileAicmdModule::get_module_description |
7.62 - 8.00 | FileAicmdModule::get_sw_img_file |
7.39 - 8.00 | bsm::Bsm::Bsm |
7.39 - 7.81 | bsm::Bsm::avm_event_csock_read |
7.39 - 7.81 | bsm::Bsm::avm_event_listener_thread |
7.29 - 7.81 | bsm::Bsm::bsm_copy_data_from_shm |
7.39 - 7.81 | bsm::Bsm::csock_close_cb |
7.39 - 7.81 | bsm::Bsm::csock_read_cb |
7.39 - 7.81 | bsm::Bsm::do_update_shared_memory |
7.39 - 7.81 | bsm::Bsm::get_dsl_shm |
7.39 - 7.81 | bsm::Bsm::get_fiber_shm |
7.29 - 8.00 | bsm::Bsm::on_exit |
7.51 - 7.62 | bsm::Bsm::on_init |
7.39 - 8.00 | bsm::Bsm::run |
7.29 - 8.00 | bsm::Bsm::usage |
7.29 - 8.00 | bsm::Bsm::~Bsm |
7.90 - 8.00 | int DslAicmdModule::copy_data_to_shm<_sBB_DSL_STATUS_BOOKED_DATARATE> |
7.39 - 7.81 | int bsm::Bsm::copy_data_to_shm<_sBB_DSL_STATUS_BOOKED_DATARATE> |
7.29 - 8.00 | main |
7.29 - 8.00 | shm_mgr::ShmWrapper::ShmWrapper |
7.39 - 8.00 | shm_mgr::ShmWrapper::get_last_request_ts |
7.29 - 8.00 | shm_mgr::ShmWrapper::get_shm |
7.39 - 8.00 | shm_mgr::ShmWrapper::is_update_needed |
7.29 - 7.39 | shm_mgr::ShmWrapper::poll_triggered_event_response |
7.29 - 7.39 | shm_mgr::ShmWrapper::update |
7.29 - 8.00 | shm_mgr::ShmWrapper::~ShmWrapper |
45 symbols for this command |