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

From BoxMatrix
(Redirected from cratelimittest)


BoxMatrix >> Shell-Commands >> cratelimittest @ 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  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

cratelimittest is a tester for the new cratelimit functions in libavmcsock.so.
So far these functions are only used in avmipcd and in this command.

fw 7.39 help:

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

usage: cratelimit [options]

options:
  -?                 - print this help
  -r UNSIGNED        - rate (per secs). (1)
  -b UNSIGNED        - burst. (10)
  -s UNSIGNED        - secs. (1)
  -n UNSIGNED        - test repeat count. (2)
  -d UNSIGNED        - single test duration. (5)
  -w UNSIGNED        - wait before next test. (5)
  -t                 - use timer to wait. (NOTSET)
  -D STRING          - switch debug logs on. (FUNC)

cratelimit -r 1 -b 10
Segmentation fault

Examples

root@fritz:/var/mod/root# cratelimittest -r 1 -b 10

buffer      10000
itemtime     1000
tokens      10000
tstamp     264671402

rate 1/1s burst 10/1s polling
0.006: 10 times okay
1.000: 1735 times limited
1.000: 1 times okay
2.000: 1741 times limited
2.001: 1 times okay
3.000: 1744 times limited
3.000: 1 times okay
4.000: 1742 times limited
4.001: 1 times okay
5.000: 1742 times limited
5.000: pause start (5 secs)
10.000: pause end
0.003: 6 times okay
1.000: 1738 times limited
1.001: 1 times okay
2.000: 1739 times limited
2.001: 1 times okay
3.000: 1743 times limited
3.001: 1 times okay
4.000: 1741 times limited
4.001: 1 times okay
5.000: 1742 times limited  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2023-02-02 07:26 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 26 7.39 - 7.51 Networking, I/O and helper functions AVM
Depends on lib libc.so 26 7.39 - 7.51 Standard C library Linux
Depends on lib libdl.so 7 7.39 Dynamic linking library Linux
Depends on lib libpthread.so 7 7.39 POSIX threading library Linux
Depends on lib librt.so 7 7.39 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 26 7.39 - 7.51 supervisor control library AVM
Depends on lib libz.so 26 7.39 - 7.51 Zlib compressor / decompressor Linux
7 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2023-02-02 06:01 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.5k
FRITZ!Box 4060 7.39 /bin 9.4k
FRITZ!Box 5590 Fiber (arm) 7.39 /bin 9.4k
FRITZ!Box 6490 Cable (arm) 7.39 /bin 9.3k
FRITZ!Box 6490 Cable (atom) 7.39 /bin 9.3k
FRITZ!Box 6590 Cable (arm) 7.39 /bin 9.3k
FRITZ!Box 6590 Cable (atom) 7.39 /bin 9.3k
FRITZ!Box 6591 Cable (arm) 7.39 /bin 13.5k
FRITZ!Box 6591 Cable (atom) 7.39 /bin 13.5k
FRITZ!Box 6660 Cable (arm) 7.39 /bin 13.5k
FRITZ!Box 6660 Cable (atom) 7.39 /bin 13.5k
FRITZ!Box 6690 Cable (arm) 7.39 /bin 13.5k
FRITZ!Box 6690 Cable (atom) 7.39 /bin 13.5k
FRITZ!Box 6850 LTE 7.39 /bin 9.5k - 9.9k
FRITZ!Box 6850 5G 7.39 /bin 9.5k
FRITZ!Box 6890 LTE 7.39 /bin 9.9k
FRITZ!Box 6890 LTE v1 7.39 /bin 9.9k
FRITZ!Box 6890 LTE v2 7.39 /bin 9.9k
FRITZ!Box 7490 (main) 7.39 - 7.51 /bin 10.0k
FRITZ!Box 7510 7.39 /bin 9.4k
FRITZ!Box 7520 7.39 /bin 9.5k
FRITZ!Box 7520 v2 (arm) 7.39 /bin 9.5k
FRITZ!Box 7530 7.39 - 7.51 /bin 9.5k
FRITZ!Box 7530 AX 7.39 /bin 9.6k
FRITZ!Box 7590 7.39 - 7.51 /bin 9.9k
FRITZ!Box 7590 AX 7.39 /bin 9.9k
26 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2023-02-02 07:26 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.

c