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
(Redirected from showfritznasdbstat)


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-04-23 07:28 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 - 7.90 Dynamic linker / loader Linux
Depends on lib libavmcsock.so 77 5.01 - 7.90 Networking, I/O and helper functions AVM
Depends on lib libavmdb.so 77 5.01 - 7.90 fritznasdb database engine AVM
Depends on lib libavmwdt.so 16 7.59 - 7.90 AVM-Watchdogs management API AVM
Depends on lib libboxlib.so 49 7.39 - 7.90 Box status, logging and statistics functions AVM
Depends on lib libc.so 77 5.01 - 7.90 Standard C library Linux
Depends on lib libdl.so 72 5.01 - 7.90 Dynamic linking library Linux
Depends on lib libewnwlinux.so 77 5.01 - 7.90 Linux networking functions AVM
Depends on lib libewnwnet.so 65 6.35 - 7.90 Internet helper functions AVM
Depends on lib libgcc_s.so 31 5.01 - 6.110 GCC low-level runtime library Linux
Depends on lib libm.so 72 5.01 - 7.90 C math library Linux
Depends on lib libpthread.so 72 5.01 - 7.90 POSIX threading library Linux
Depends on lib libsqlite3.so 77 5.01 - 7.90 SQLite self-contained SQL database engine Linux
Depends on lib libwdt.so 74 5.01 - 7.80 AVM-Watchdogs management API AVM
Depends on lib libwebsrv.so 77 5.01 - 7.90 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-04-23 05:08 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 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 5.50 - 6.89 /bin 19.3k - 21.6k
FRITZ!Box WLAN 3370 5.05 - 6.56 /bin 19.3k - 30.8k
FRITZ!Box 3390 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 7.39 /bin 21.1k - 33.4k
FRITZ!Box 4040 6.52 - 7.57 /bin 18.5k - 33.4k
FRITZ!Box 4050 7.57 /bin 21.3k
FRITZ!Box 4060 7.26 - 7.57 /bin 21.3k - 33.4k
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 5530 Fiber (main) 7.39 /bin 33.4k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.90 /bin 21.3k - 33.4k
FRITZ!Box 5690 Pro (arm) 7.59 - 7.60 /bin 21.3k
FRITZ!Box 6360 Cable 5.05 - 6.51 /bin 17.8k - 20.2k
FRITZ!Box 6430 Cable (arm) 6.84 - 7.57 /bin 20.9k - 33.4k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /bin 20.9k - 25.2k
FRITZ!Box 6490 Cable (arm) 6.20 - 7.57 /bin 17.8k - 33.4k
FRITZ!Box 6490 Cable (atom) 6.20 - 7.51 /bin 20.9k - 25.2k
FRITZ!Box 6590 Cable (arm) 6.83 - 7.57 /bin 20.9k - 33.4k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.51 /bin 20.9k - 25.2k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.90 /bin 23.6k - 33.4k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.90 /bin 23.6k - 33.4k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.90 /bin 25.3k - 33.4k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.90 /bin 25.3k - 33.4k
FRITZ!Box 6670 Cable (arm) 7.57 - 7.62 /bin 33.4k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.62 /bin 33.4k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.90 /bin 25.3k - 33.4k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.90 /bin 25.3k - 33.4k
FRITZ!Box 6820 LTE v1 7.39 /bin 33.4k
FRITZ!Box 6820 LTE v2 7.39 /bin 33.4k
FRITZ!Box 6840 LTE 5.08 - 7.39 /bin 19.3k - 33.4k
FRITZ!Box 6842 LTE /bin 19.3k - 21.6k
FRITZ!Box 6850 LTE 7.21 - 7.90 /bin 21.3k - 33.4k
FRITZ!Box 6850 5G 7.24 - 7.90 /bin 21.3k - 33.4k
FRITZ!Box 6890 LTE 6.84 - 7.51 /bin 24.4k - 33.4k
FRITZ!Box 6890 LTE v1 6.84 - 7.51 /bin 24.4k - 33.4k
FRITZ!Box 6890 LTE v2 6.84 - 7.51 /bin 24.4k - 33.4k
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 5.55 - 7.39 /bin 20.2k - 33.4k
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 5.53 - 7.14 /bin 19.3k - 22.9k
FRITZ!Box 7369 6.30 - 6.32 /bin 21.6k
FRITZ!Box Fon WLAN 7390 5.01 - 5.22 /bin 11.7k - 26.2k
FRITZ!Box 7430 6.26 - 7.39 /bin 21.0k - 33.4k
FRITZ!Box 7490 (main) 5.57 - 7.57 /bin 20.2k - 33.4k
FRITZ!Box 7510 7.30 - 7.57 /bin 21.3k
FRITZ!Box 7520 6.98 - 7.51 /bin 18.6k - 33.4k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.57 /bin 21.3k - 33.4k
FRITZ!Box 7530 6.98 - 7.56 /bin 18.5k - 33.4k
FRITZ!Box 7530 AX 7.20 - 7.90 /bin 21.5k - 33.4k
FRITZ!Box 7560 6.51 - 7.39 /bin 24.4k - 33.4k
FRITZ!Box 7580 6.53 - 7.30 /bin 24.4k - 26.9k
FRITZ!Box 7581 6.54 - 7.16 /bin 18.4k - 25.5k
FRITZ!Box 7582 6.83 - 7.17 /bin 18.4k - 25.5k
FRITZ!Box 7583 7.01 - 7.57 /bin 24.5k - 26.9k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /bin 26.8k
FRITZ!Box 7590 6.83 - 7.90 /bin 24.4k - 33.4k
FRITZ!Box 7590 AX 7.19 - 7.90 /bin 26.7k - 33.4k
FRITZ!Box 7690 7.59 /bin 21.3k
FRITZ!Repeater 600 7.39 /bin 33.4k
FRITZ!Repeater 1200 7.39 /bin 33.4k
FRITZ!WLAN Repeater 1750E 7.39 /bin 33.4k
FRITZ!Repeater 2400 7.39 /bin 33.4k
FRITZ!Repeater 3000 7.39 /bin 33.4k
FRITZ!Repeater 3000 AX 7.39 /bin 33.4k
FRITZ!Powerline 1260E 7.39 /bin 33.4k
77 models use this command

Symbols

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

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

SMW-Browser

Information is currently being retrieved from the backend.