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:showfritznasdbstat

From BoxMatrix


BoxMatrix >> Shell-Commands >> showfritznasdbstat @ 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:   Examples  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

showfritznasdbstat is a supportdata helper showing the fritznasdb status.

fw 7.29 help:

root@fritz2:/var/mod/root# showfritznasdbstat -?

usage: showfritznasdbstat showfritznasdbstat [options]

options:
  -?                 - print this help
  -v INTEGER         - set verbose mode. (0)
  -u                 - disable upnp requests (faster, less infos). (NOTSET)
  -D STRING          - switch debug logs on, possible values: debug, info, error. (FUNC)

start: showfritznasdbstat
start verbose: showfritznasdbstat -v1

Examples

7330 fw 7.29 - 2-partition SSD on USB-Host:

root@fritz1:/var/mod/root# showfritznasdbstat

fritznasdb not running
partition: 1646153577 (part2)
  partition type:  usb read-write
  partition path:  /var/media/ftp/LOG1-1
  db file:         /var/media/ftp/LOG1-1/FRITZ/mediabox/fritznasdb_part.db3
  db version:      1.021.379
  scan status:     db attached without scan (scan duration unknown)
  item count:      audio: 0, video: 0, image: 0, doc: 0, other: 38
partition: 1879582395 (part3)
  partition type:  internal nand
  partition path:  /var/media/ftp
  db file:         /var/media/ftp/FRITZ/mediabox/fritznasdb_part.db3
  db version:      1.021.379
  scan status:     db attached without scan (scan duration unknown)
  item count:      audio: 1, video: 1, image: 1, doc: 3, other: 21
partition: 2013625315 (part1)
  partition type:  usb read-write
  partition path:  /var/media/ftp/FRITZ1
  db file:         /var/media/ftp/FRITZ1/FRITZ/mediabox/fritznasdb_part.db3
  db version:      1.021.379
  scan status:     db attached without scan (scan duration unknown)
  item count:      audio: 0, video: 0, image: 0, doc: 0, other: 2
total item count: 67
upnpcont: <root>, childs: 6, browsed: 6/50
          time: 0.011597 (total matches: 0.000004 [io: 0 R, 0 W, 0 S], browse: 0.011593 [io: 0 R, 0 W, 0 S])
upnpcont: Musik, childs: 6, browsed: 6/50
          time: 0.015833 (total matches: 0.000005 [io: 0 R, 0 W, 0 S], browse: 0.015828 [io: 0 R, 0 W, 0 S])
upnpcont: Musik-Interpreten, childs: 1, browsed: 1/50
          time: 0.010870 (total matches: 0.001506 [io: 0 R, 0 W, 0 S], browse: 0.009364 [io: 0 R, 0 W, 0 S])
upnpcont: Musik-Alben, childs: 1, browsed: 1/50
          time: 0.009896 (total matches: 0.001609 [io: 0 R, 0 W, 0 S], browse: 0.008287 [io: 0 R, 0 W, 0 S])
upnpcont: Musik-Titel, childs: 1, browsed: 1/50
          time: 0.011299 (total matches: 0.001153 [io: 0 R, 0 W, 0 S], browse: 0.010146 [io: 0 R, 0 W, 0 S])
upnpcont: Musik-Genres, childs: 1, browsed: 1/50
          time: 0.010554 (total matches: 0.001529 [io: 0 R, 0 W, 0 S], browse: 0.009025 [io: 0 R, 0 W, 0 S])
upnpcont: Musik-Ordner, childs: 1, browsed: 1/50, entries: Musik
          time: 0.035627 (total matches: 0.001907 [io: 0 R, 0 W, 0 S], browse: 0.033720 [io: 0 R, 0 W, 0 S])
upnpcont: Bilder, childs: 2, browsed: 2/50
          time: 0.009908 (total matches: 0.000004 [io: 0 R, 0 W, 0 S], browse: 0.009904 [io: 0 R, 0 W, 0 S])
upnpcont: Bilder-Alle Bilder, childs: 1, browsed: 1/50
          time: 0.007271 (total matches: 0.001172 [io: 0 R, 0 W, 0 S], browse: 0.006099 [io: 0 R, 0 W, 0 S])
upnpcont: Bilder-Ordner, childs: 1, browsed: 1/50, entries: Bilder
          time: 0.024999 (total matches: 0.001172 [io: 0 R, 0 W, 0 S], browse: 0.023827 [io: 0 R, 0 W, 0 S])
upnpcont: Filme, childs: 2, browsed: 2/50
          time: 0.009731 (total matches: 0.000004 [io: 0 R, 0 W, 0 S], browse: 0.009727 [io: 0 R, 0 W, 0 S])
upnpcont: Filme-Alle Filme, childs: 1, browsed: 1/50
          time: 0.009418 (total matches: 0.001249 [io: 0 R, 0 W, 0 S], browse: 0.008169 [io: 0 R, 0 W, 0 S])
upnpcont: Filme-Ordner, childs: 1, browsed: 1/50, entries: Videos
          time: 0.034823 (total matches: 0.001176 [io: 0 R, 0 W, 0 S], browse: 0.033647 [io: 0 R, 0 W, 0 S])
upnpcont: Internetradio, childs: 0, browsed: 0/50
          time: 0.002935 (total matches: 0.000391 [io: 0 R, 0 W, 0 S], browse: 0.002544 [io: 0 R, 0 W, 0 S])
upnpcont: Podcasts, childs: 1, browsed: 1/50
          time: 0.003402 (total matches: 0.000402 [io: 0 R, 0 W, 0 S], browse: 0.003000 [io: 0 R, 0 W, 0 S])
fnas browse: /var/media/ftp, sort: title, entries: 9
          time: 0.038312 [io: 0 R, 0 W, 0 S]
fnas browse: /var/media/ftp/LOG1-1, sort: title, entries: 0
          time: 0.023528 [io: 0 R, 0 W, 0 S]
fnas browse: /var/media/ftp/FRITZ1, sort: title, entries: 3
          time: 0.024726 [io: 0 R, 0 W, 0 S]

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/showfritznasdbstat | grep -e '\.c$' -e '\.cpp$'

showfritznasdbstat/stat_shm.c
showfritznasdbstat/scaninfos.c
showfritznasdbstat/upnpinfos.c  

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
Depends on lib ld.so 22 7.08 - 8.00 Dynamic linker / loader Linux
Depends on lib libavmcsock.so 61 5.01 - 8.00 Networking, I/O and helper functions AVM
Depends on lib libavmdb.so 61 5.01 - 8.00 fritznasdb database engine AVM
Depends on lib libavmwdt.so 21 7.61 - 8.00 AVM-Watchdogs management API AVM
Depends on lib libboxlib.so 27 7.39 - 8.00 Box status, logging and statistics functions AVM
Depends on lib libc.so 61 5.01 - 8.00 Standard C library Linux
Depends on lib libdl.so 50 5.01 - 8.00 Dynamic linking library Linux
Depends on lib libewnwlinux.so 61 5.01 - 8.00 Linux networking functions AVM
Depends on lib libewnwnet.so 49 6.35 - 8.00 Internet helper functions AVM
Depends on lib libgcc_s.so 28 5.01 - 6.110 GCC low-level runtime library Linux
Depends on lib libm.so 50 5.01 - 8.00 C math library Linux
Depends on lib libpthread.so 50 5.01 - 8.00 POSIX threading library Linux
Depends on lib libsqlite3.so 61 5.01 - 8.00 SQLite self-contained SQL database engine Linux
Depends on lib libwdt.so 58 5.01 - 7.81 AVM-Watchdogs management API AVM
Depends on lib libwebsrv.so 61 5.01 - 8.00 HTTP / HTTPS webserver and tools. AVM
15 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 WLAN 3270 5.05 - 5.54 /bin 22.8k - 27.5k
FRITZ!Box WLAN 3270 v3 5.05 - 5.54 /bin 22.8k - 27.5k
FRITZ!Box WLAN 3270 IT 5.23 - 5.52 /bin 22.8k
FRITZ!Box 3272 (main) 5.50 - 6.89 /bin 19.3k - 21.6k
FRITZ!Box WLAN 3370 (main) 5.05 - 6.56 /bin 19.3k - 30.8k
FRITZ!Box 3390 (main) 5.50 - 6.56 /bin 19.3k - 21.6k
FRITZ!Box 3490 (main) 6.20 - 7.30 /bin 21.1k - 26.9k
FRITZ!Box 4020 /bin 21.1k - 21.4k
FRITZ!Box 4040 6.52 - 8.00 /bin 18.5k - 21.4k
FRITZ!Box 4050 7.58 - 7.90 /bin 21.3k
FRITZ!Box 4060 7.29 - 7.90 /bin 21.3k
FRITZ!Box 5490 (main) 6.51 - 7.29 /bin 21.1k - 26.9k
FRITZ!Box 5491 (main) 7.01 - 7.29 /bin 21.1k - 26.9k
FRITZ!Box 5590 Fiber (main) 7.29 - 8.00 /bin 21.3k
FRITZ!Box 5690 Pro (main) 7.62 /bin 21.3k
FRITZ!Box 6360 Cable 5.05 - 6.51 /bin 17.8k - 20.2k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /bin 20.9k - 25.2k
FRITZ!Box 6490 Cable (arm) 6.20 - 6.64 /bin 17.8k - 19.0k
FRITZ!Box 6490 Cable (atom) 6.20 - 7.51 /bin 20.9k - 25.2k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.51 /bin 20.9k - 25.2k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.08 /bin 23.6k - 25.4k
FRITZ!Box 6591 Cable (atom) 7.04 - 8.00 /bin 23.6k - 33.5k
FRITZ!Box 6660 Cable (atom) 7.14 - 8.00 /bin 25.3k - 33.5k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.90 /bin 33.4k - 33.5k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.90 /bin 25.3k - 33.5k
FRITZ!Box 6840 LTE (main) 5.08 - 6.88 /bin 19.3k - 30.8k
FRITZ!Box 6842 LTE /bin 19.3k - 21.6k
FRITZ!Box 6850 LTE 7.21 - 7.90 /bin 21.3k - 26.8k
FRITZ!Box 6850 5G 7.24 - 7.90 /bin 21.3k - 21.4k
FRITZ!Box 6890 LTE (main) 6.84 - 7.57 /bin 24.4k - 26.9k
FRITZ!Box 6890 LTE v1 (main) 6.84 - 7.57 /bin 24.4k - 26.9k
FRITZ!Box 6890 LTE v2 (main) 6.84 - 7.57 /bin 24.4k - 26.9k
FRITZ!Box Fon WLAN 7240 5.04 - 6.06 /bin 22.8k - 27.5k
FRITZ!Box Fon WLAN 7270 v2 5.01 - 6.06 /bin 19.9k - 30.8k
FRITZ!Box Fon WLAN 7270 v3 5.01 - 6.06 /bin 19.1k - 30.8k
FRITZ!Box 7272 (main) 5.55 - 6.88 /bin 20.2k - 21.6k
FRITZ!Box Fon WLAN 7320 5.09 - 6.35 /bin 19.3k - 22.8k
FRITZ!Box 7330 5.06 - 6.56 /bin 19.3k - 30.8k
FRITZ!Box 7330 SL 5.08 - 6.56 /bin 19.3k - 30.8k
FRITZ!Box Fon WLAN 7340 5.04 - 5.05 /bin 19.3k - 23.5k
FRITZ!Box Fon WLAN 7360 SL 5.04 - 6.34 /bin 19.3k - 30.8k
FRITZ!Box Fon WLAN 7360 v1 5.06 - 6.36 /bin 19.3k - 30.8k
FRITZ!Box Fon WLAN 7360 v2 5.22 - 6.88 /bin 19.3k - 22.8k
FRITZ!Box 7362 SL (main) 5.53 - 7.18 /bin 19.3k - 22.9k
FRITZ!Box 7369 (main) 6.30 - 6.32 /bin 21.6k
FRITZ!Box Fon WLAN 7390 5.01 - 5.22 /bin 11.7k - 26.2k
FRITZ!Box 7430 (main) 6.26 - 7.31 /bin 21.0k - 26.9k
FRITZ!Box 7490 (main) 5.57 - 7.51 /bin 20.2k - 27.0k
FRITZ!Box 7510 7.30 - 8.00 /bin 21.3k
FRITZ!Box 7520 6.98 - 8.00 /bin 18.6k - 21.4k
FRITZ!Box 7520 v2 (main) 7.30 - 8.00 /bin 21.3k - 21.4k
FRITZ!Box 7530 6.98 - 8.00 /bin 18.5k - 21.4k
FRITZ!Box 7530 AX 7.20 - 8.00 /bin 21.5k - 25.5k
FRITZ!Box 7560 (main) 6.51 - 7.30 /bin 24.4k - 26.9k
FRITZ!Box 7580 (main) 6.53 - 7.30 /bin 24.4k - 26.9k
FRITZ!Box 7581 6.54 - 7.18 /bin 18.4k - 25.5k
FRITZ!Box 7582 6.83 - 7.18 /bin 18.4k - 25.5k
FRITZ!Box 7583 (main) 7.01 - 7.59 /bin 24.5k - 26.9k
FRITZ!Box 7583 VDSL (main) 7.19 - 8.00 /bin 26.8k
FRITZ!Box 7590 (main) 6.83 - 8.00 /bin 24.4k - 26.9k
FRITZ!Box 7590 AX (main) 7.19 - 8.00 /bin 26.7k - 26.8k
FRITZ!Box 7690 7.61 - 7.90 /bin 21.3k
62 models use this command

Symbols

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

Firmware Symbol
6.10 - 8.00 avmipc_deinit
6.10 - 8.00 avmipc_init
5.55 - 6.06 create_msg_endpoint
5.06 - 8.00 fnasinfos_print
5.06 - 8.00 get_duration_by_timeval
5.01 - 8.00 main
5.01 print_infos
5.55 - 6.06 remove_msg_endpoint
5.06 - 8.00 restart_db_connection
5.01 - 8.00 scaninfos_print
5.06 - 8.00 start_db_connection
5.01 - 8.00 stat_shm_deinit
5.01 - 8.00 stat_shm_get_last_db_error
5.01 - 8.00 stat_shm_get_last_scanned_entry
5.01 - 8.00 stat_shm_init
5.06 - 8.00 stop_db_connection
5.01 - 8.00 upnpinfos_print
17 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.