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 september. Please use hippie2000@webnmail.de instead.

0
U

Property:showrrdstate

From BoxMatrix


BoxMatrix >> Shell-Commands >> showrrdstate @ 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 Gallery

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

showrrdstate is a supportdata helper showing how each avmcounterd RRD file is configured.

fw 7.39 help:

root@fritz:/var/mod/root# showrrdstate -?

usage: showrrdstate [options]

options:
  -?                 - print this help
  -D STRING          - switch debug logs on. (FUNC)

showrrdstate

Examples

To get a list of currently existing RRD files:   -   this should be a -l option of showrrdstate

root@fritz:/var/mod/root# aicmd avmcounterd rrdtoolapi rrd list

cpuusage                                 ready
dev_guest                                ready
dev_lan                                  ready
ethgstats                                ready
local                                    ready
memory                                   ready
neigh5475                                ready

showrrdstate lists how each RRD file is configured:

root@fritz:/var/mod/root# showrrdstate

RRD info:
cpuusage:
   unit_divisor  : 1024
   unit_separator: ':'
   units         : 
   bit_units     : 
   ds            : 'iowait' axis 0 stack 'default'
   ds            : 'irq' axis 0 stack 'default'
   ds            : 'nice' axis 0 stack 'default'
   ds            : 'softirq' axis 0 stack 'default'
   ds            : 'system' axis 0 stack 'default'
   ds            : 'user' axis 0 stack 'default'
dev_guest:
   unit_divisor  : 1024
   unit_separator: ':'
   units         : 'B/s:KB/s:MB/s'
   bit_units     : 'Bits/s:KBits/s:MBits/s'
   ds            : 'rcv_ipv4' axis 0 stack 'rx'
   ds            : 'rcv_ipv6' axis 0 stack 'rx'
   ds            : 'snd_ipv4' axis 1 stack 'tx'
   ds            : 'snd_ipv6' axis 1 stack 'tx'
dev_lan:
   unit_divisor  : 1024
   unit_separator: ':'
   units         : 'B/s:KB/s:MB/s'
   bit_units     : 'Bits/s:KBits/s:MBits/s'
   ds            : 'rcv_ipv4' axis 0 stack 'rx'
   ds            : 'rcv_ipv6' axis 0 stack 'rx'
   ds            : 'snd_ipv4' axis 1 stack 'tx'
   ds            : 'snd_ipv6' axis 1 stack 'tx'
ethgstats:
   unit_divisor  : 1024
   unit_separator: ':'
   units         : 'B/s:KB/s:MB/s'
   bit_units     : 'Bits/s:KBits/s:MBits/s'
   ds            : 'lan0_rx' axis 0 stack 'rx'
   ds            : 'lan0_tx' axis 1 stack 'tx'
   ds            : 'lan1_rx' axis 0 stack 'rx'
   ds            : 'lan1_tx' axis 1 stack 'tx'
   ds            : 'lan2_rx' axis 0 stack 'rx'
   ds            : 'lan2_tx' axis 1 stack 'tx'
   ds            : 'lan3_rx' axis 0 stack 'rx'
   ds            : 'lan3_tx' axis 1 stack 'tx'
local:
   unit_divisor  : 1024
   unit_separator: ':'
   units         : 'B/s:KB/s:MB/s'
   bit_units     : 'Bits/s:KBits/s:MBits/s'
   ds            : 'rcv_ipv4' axis 0 stack 'rx'
   ds            : 'rcv_ipv6' axis 0 stack 'rx'
   ds            : 'snd_ipv4' axis 1 stack 'tx'
   ds            : 'snd_ipv6' axis 1 stack 'tx'
memory:
   unit_divisor  : 1024
   unit_separator: ':'
   units         : 'KB:MB:GB'
   bit_units     : 
   ds            : 'memdynamic' axis 0 stack 'default'
   ds            : 'memused' axis 0 stack 'default'
neigh5475:
   unit_divisor  : 1024
   unit_separator: ':'
   units         : 'B/s:KB/s:MB/s'
   bit_units     : 'Bits/s:KBits/s:MBits/s'
   ds            : 'rcv_ipv4' axis 0 stack 'rx'
   ds            : 'rcv_ipv6' axis 0 stack 'rx'
   ds            : 'snd_ipv4' axis 1 stack 'tx'
   ds            : 'snd_ipv6' axis 1 stack 'tx'

To get details about the values each RRD file currently records:   -   this should be a -v option of showrrdstate

root@fritz:/var/mod/root# aicmd avmcounterd show bundles

cpuusage: ready (libprocmodules.so)
    iowait                                  150 (age 14s)
    irq                                  132351 (age 14s)
    nice                                      0 (age 14s)
    softirq                              135022 (age 14s)
    system                                38413 (age 14s)
    user                                  68958 (age 14s)
dev_guest: ready
    rcv_ipv4                                  0 (age 14s)
    rcv_ipv6                                  0 (age 14s)
    snd_ipv4                                  0 (age 14s)
    snd_ipv6                                  0 (age 14s)
dev_lan: ready
    rcv_ipv4                                  0 (age 14s)
    rcv_ipv6                                  0 (age 14s)
    snd_ipv4                                  0 (age 14s)
    snd_ipv6                                  0 (age 14s)
ethgstats: ready (libethgstats.so)
    lan0_rx                             6775746 (age 14s)
    lan0_tx                            29539374 (age 14s)
    lan1_rx                                   0 (age 14s)
    lan1_tx                                   0 (age 14s)
    lan2_rx                                   0 (age 14s)
    lan2_tx                                   0 (age 14s)
    lan3_rx                                   0 (age 14s)
    lan3_tx                                   0 (age 14s)
local: ready
    rcv_ipv4                                  0 (age 14s)
    rcv_ipv6                                  0 (age 14s)
    snd_ipv4                                  0 (age 14s)
    snd_ipv6                                  0 (age 14s)
memory: ready (libprocmodules.so)
    memdynamic                            89452 (age 14s)
    memused                              158640 (age 14s)
neigh5475: ready
    rcv_ipv4                                  0 (age 14s)
    rcv_ipv6                                  0 (age 14s)
    snd_ipv4                                  0 (age 14s)
    snd_ipv6                                  0 (age 14s)

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

<empty>  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2023-01-27 07:15 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 libavmcsock.so 25 7.39 - 7.51 Networking, I/O and helper functions AVM
Depends on lib libavmrrdstate.so 25 7.39 - 7.51 API wrapping rrdinfo AVM
Depends on lib libc.so 25 7.39 - 7.51 Standard C library Linux
Depends on lib libdl.so 7 7.39 - 7.50 Dynamic linking library Linux
Depends on lib libewnwlinux.so 25 7.39 - 7.51 Linux networking functions AVM
Depends on lib libpthread.so 7 7.39 - 7.50 POSIX threading library Linux
Depends on lib librt.so 7 7.39 - 7.50 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 25 7.39 - 7.51 supervisor control library AVM
Depends on lib libwdt.so 25 7.39 - 7.51 AVM-Watchdogs management API AVM
Depends on lib libz.so 25 7.39 - 7.51 Zlib compressor / decompressor Linux
10 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2023-01-27 05:54 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 4040 7.39 /bin 9.3k
FRITZ!Box 4060 7.39 /bin 9.3k
FRITZ!Box 6490 Cable (arm) 7.39 /bin 9.2k
FRITZ!Box 6490 Cable (atom) 7.39 /bin 9.2k
FRITZ!Box 6590 Cable (arm) 7.39 /bin 9.2k
FRITZ!Box 6590 Cable (atom) 7.39 /bin 9.2k
FRITZ!Box 6591 Cable (arm) 7.39 /bin 13.4k
FRITZ!Box 6591 Cable (atom) 7.39 /bin 13.4k
FRITZ!Box 6660 Cable (arm) 7.39 /bin 13.4k
FRITZ!Box 6660 Cable (atom) 7.39 /bin 13.4k
FRITZ!Box 6690 Cable (arm) 7.39 - 7.50 /bin 13.4k
FRITZ!Box 6690 Cable (atom) 7.39 - 7.50 /bin 13.4k
FRITZ!Box 6850 LTE 7.39 /bin 9.3k - 9.8k
FRITZ!Box 6850 5G 7.39 /bin 9.3k
FRITZ!Box 6890 LTE 7.39 /bin 9.8k
FRITZ!Box 6890 LTE v1 7.39 /bin 9.8k
FRITZ!Box 6890 LTE v2 7.39 /bin 9.8k
FRITZ!Box 7490 (main) 7.39 - 7.51 /bin 9.9k
FRITZ!Box 7510 7.39 /bin 9.3k
FRITZ!Box 7520 7.39 - 7.50 /bin 9.3k
FRITZ!Box 7520 v2 (arm) 7.39 - 7.50 /bin 9.3k
FRITZ!Box 7530 7.39 - 7.50 /bin 9.3k
FRITZ!Box 7530 AX 7.39 /bin 9.5k
FRITZ!Box 7590 7.39 - 7.51 /bin 9.8k
FRITZ!Box 7590 AX 7.39 /bin 9.8k
25 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2023-01-27 07:15 GMT.

Firmware Symbol
7.39 - 7.51 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

s