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:ethgstats
BoxMatrix >> Shell-Commands >> ethgstats | @ 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
Command: | ethgstats - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> AVM-Commands - Origin: AVM | ||||||
Path: | Release: Lab+Rel: /bin | ||||||
Properties: | Size: 5.2k - 13.6k - Firmware: 7.39 - 7.90 | ||||||
Function: | Shows the status counters of a physical eth interface. |
Goto: Examples - Source - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
ethgstats shows the status counters of a physical eth interface.
So far it is unused in FRITZ!OS, but may turn a supportdata helper (show*).
There's a libethgstats.so plugin for avmcounterd for a similar purpose.
fw 7.39 help:
root@fritz:/var/mod/root# ethgstats -? usage: ethgstats [options] <ifname> ... options: -? - print this help -D STRING - switch debug logs on. (FUNC) -a - show also null values. (NOTSET) -m - show memory used at end of programm. (NOTSET) ethtool -S via libewnwlinux.so
Examples
Fw 7.39 examples:
root@fritz0:/var/mod/root# ethgstats eth0 eth0: 123 counters available tx_q2_pkt 347584 tx_q3_pkt 4375 tx_q6_pkt 39717 tx_q7_pkt 1835 tx_q10_pkt 402659 tx_q11_pkt 3752 tx_q14_pkt 399018 tx_q15_pkt 3694 tx_q2_byte 33785206 tx_q3_byte 1024956 tx_q6_byte 4815900 tx_q7_byte 601654 tx_q10_byte 36923075 tx_q11_byte 1216312 tx_q14_byte 37621256 tx_q15_byte 862392 rx_q0_pkt 158970 rx_q0_byte 26167537 root@fritz0:/var/mod/root# ethgstats -m eth0 eth0: 123 counters available tx_q2_pkt 347719 tx_q3_pkt 4378 tx_q6_pkt 39717 tx_q7_pkt 1839 tx_q10_pkt 402662 tx_q11_pkt 3814 tx_q14_pkt 399019 tx_q15_pkt 3699 tx_q2_byte 33793306 tx_q3_byte 1025294 tx_q6_byte 4815900 tx_q7_byte 602062 tx_q10_byte 36923414 tx_q11_byte 1230492 tx_q14_byte 37621316 tx_q15_byte 864062 rx_q0_pkt 159063 rx_q0_byte 26174405 SLAB $Revision$ FLAGS F pagesize 4096 offlimit 48 ncaches 20 nallocpages 8 (max=8) nreappages 0 current=32KByte objalloc slabs npages alloc free slab_cache : 19 30 0 1 0 1 1 19 0 size-16 : 9 201 0 1 0 1 1 9 0 size-32 : 22 112 0 1 0 1 1 22 0 size-64 : size-128 : 4 30 0 1 0 1 1 5 1 size-256 : size-512 : 0 8 0 0 1 1 1 1 1 size-1024 : 0 4 0 0 1 1 1 1 1 size-2048 : size-4096 : 1 2 1 0 1 2 2 2 1 size-8192 : size-16384 : size-32768 : size-65536 : size-131072 : size-256*1024 : size-512*1024 : size-1024*1024: size-2048*1024: csock : count size caller root@fritz0:/var/mod/root# ethgstats -a eth0 eth0: tx_q0_pkt 0 tx_q1_pkt 0 tx_q2_pkt 347776 tx_q3_pkt 4405 tx_q4_pkt 0 tx_q5_pkt 0 tx_q6_pkt 39717 tx_q7_pkt 1839 tx_q8_pkt 0 tx_q9_pkt 0 tx_q10_pkt 402698 tx_q11_pkt 3823 tx_q12_pkt 0 tx_q13_pkt 0 tx_q14_pkt 399023 tx_q15_pkt 3699 tx_q0_byte 0 tx_q1_byte 0 tx_q2_byte 33796779 tx_q3_byte 1030740 tx_q4_byte 0 tx_q5_byte 0 tx_q6_byte 4815900 tx_q7_byte 602062 tx_q8_byte 0 tx_q9_byte 0 tx_q10_byte 36925645 tx_q11_byte 1231442 tx_q12_byte 0 tx_q13_byte 0 tx_q14_byte 37622846 tx_q15_byte 864062 rx_q0_pkt 159124 rx_q1_pkt 0 rx_q2_pkt 0 rx_q3_pkt 0 rx_q4_pkt 0 rx_q5_pkt 0 rx_q6_pkt 0 rx_q7_pkt 0 rx_q0_byte 26179617 rx_q1_byte 0 rx_q2_byte 0 rx_q3_byte 0 rx_q4_byte 0 rx_q5_byte 0 rx_q6_byte 0 rx_q7_byte 0 tx_desc_error 0 rx_alloc_fail_ctr 0 rx_prec_0 0 rx_prec_1 0 rx_prec_2 0 rx_prec_3 0 rx_prec_4 0 rx_prec_5 0 rx_prec_6 0 rx_prec_7 0 rx_ac_bk 0 rx_ac_be 0 rx_ac_vi 0 rx_ac_vo 0 rx_flow1_delta_start_ts 0 rx_flow1_max_ifd_usec 0 rx_flow2_delta_start_ts 0 rx_flow2_max_ifd_usec 0 rx_flow3_delta_start_ts 0 rx_flow3_max_ifd_usec 0 rx_flow4_delta_start_ts 0 rx_flow4_max_ifd_usec 0 rx_flow5_delta_start_ts 0 rx_flow5_max_ifd_usec 0 rx_flow6_delta_start_ts 0 rx_flow6_max_ifd_usec 0 rx_flow7_delta_start_ts 0 rx_flow7_max_ifd_usec 0 rx_flow8_delta_start_ts 0 rx_flow8_max_ifd_usec 0 tx_prec_0 0 tx_prec_1 0 tx_prec_2 0 tx_prec_3 0 tx_prec_4 0 tx_prec_5 0 tx_prec_6 0 tx_prec_7 0 tx_ac_bk 0 tx_ac_be 0 tx_ac_vi 0 tx_ac_vo 0 tx_flow1_delta_start_ts 0 tx_flow1_max_ifd_usec 0 tx_flow2_delta_start_ts 0 tx_flow2_max_ifd_usec 0 tx_flow3_delta_start_ts 0 tx_flow3_max_ifd_usec 0 tx_flow4_delta_start_ts 0 tx_flow4_max_ifd_usec 0 tx_flow5_delta_start_ts 0 tx_flow5_max_ifd_usec 0 tx_flow6_delta_start_ts 0 tx_flow6_max_ifd_usec 0 tx_flow7_delta_start_ts 0 tx_flow7_max_ifd_usec 0 tx_flow8_delta_start_ts 0 tx_flow8_max_ifd_usec 0 netif_rx_pkts_good 0 netif_tx_pkts_good 0 netif_rx_bytes_good 0 netif_tx_bytes_good 0 netif_rx_pkts_dropped 0 netif_tx_pkts_dropped 0 netif_rx_pkts_error 0 netif_tx_pkts_error 0 mac_rx_pkts_good 0 mac_tx_pkts_good 0 mac_rx_bytes_good 0 mac_tx_bytes_good 0 mac_rx_pkts_pause 0 mac_tx_pkts_pause 0 mac_rx_pkts_dropped 0 mac_tx_pkts_dropped 0 mac_rx_bytes_error 0
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/ethgstats | grep -e '\.c$' -e '\.cpp$' <empty>
Dependencies
Daily updated index of all dependencies of this command. Last update: 2025-02-01 07:40 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 | 11 | 7.39 - 7.90 | Dynamic linker / loader | Linux |
Depends on | lib | libavmcsock.so | 28 | 7.39 - 7.90 | Networking, I/O and helper functions | AVM |
Depends on | lib | libavmwdt.so | 15 | 7.90 | AVM-Watchdogs management API | AVM |
Depends on | lib | libc.so | 28 | 7.39 - 7.90 | Standard C library | Linux |
Depends on | lib | libdl.so | 5 | 7.39 - 7.90 | Dynamic linking library | Linux |
Depends on | lib | libewnwlinux.so | 28 | 7.39 - 7.90 | Linux networking functions | AVM |
Depends on | lib | libpthread.so | 5 | 7.39 - 7.90 | POSIX threading library | Linux |
Depends on | lib | librt.so | 5 | 7.39 - 7.90 | POSIX realtime extensions library | Linux |
Depends on | lib | libsvctl.so | 28 | 7.39 - 7.90 | supervisor notification library | AVM |
Depends on | lib | libwdt.so | 25 | 7.39 - 7.70 | AVM-Watchdogs management API | AVM |
Depends on | lib | libz.so | 28 | 7.39 - 7.90 | Zlib compressor / decompressor | Linux |
11 dependencies for this command |
Model-Matrix
Daily updated index of the presence, path and size of this command for each model. Last update: 2025-02-01 05:39 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 4040 | 7.39 - 7.90 | /bin | 5.4k |
FRITZ!Box 4050 | 7.90 | /bin | 5.4k |
FRITZ!Box 4060 | 7.39 - 7.90 | /bin | 5.3k - 5.4k |
FRITZ!Box 5530 Fiber (main) | 7.39 - 7.70 | /bin | 5.7k - 5.8k |
FRITZ!Box 5590 Fiber (main) | 7.39 - 7.90 | /bin | 5.3k - 5.4k |
FRITZ!Box 6490 Cable (atom) | 7.39 - 7.51 | /bin | 5.2k |
FRITZ!Box 6590 Cable (atom) | 7.39 - 7.51 | /bin | 5.2k |
FRITZ!Box 6591 Cable (atom) | 7.39 - 7.90 | /bin | 13.4k - 13.5k |
FRITZ!Box 6660 Cable (atom) | 7.39 - 7.90 | /bin | 13.4k - 13.6k |
FRITZ!Box 6670 Cable (atom) | 7.90 | /bin | 13.6k |
FRITZ!Box 6690 Cable (atom) | 7.39 - 7.90 | /bin | 13.4k - 13.6k |
FRITZ!Box 6820 LTE v1 (main) | 7.51 | /bin | 5.8k |
FRITZ!Box 6820 LTE v2 (main) | 7.51 | /bin | 5.8k |
FRITZ!Box 6820 LTE v3 (main) | 7.51 | /bin | 5.8k |
FRITZ!Box 6850 LTE | 7.39 - 7.90 | /bin | 5.4k - 5.7k |
FRITZ!Box 6850 5G | 7.39 - 7.90 | /bin | 5.4k |
FRITZ!Box 6890 LTE (main) | 7.39 - 7.51 | /bin | 5.7k |
FRITZ!Box 6890 LTE v1 (main) | 7.39 - 7.51 | /bin | 5.7k |
FRITZ!Box 6890 LTE v2 (main) | 7.39 - 7.51 | /bin | 5.7k |
FRITZ!Box 7490 (main) | 7.51 | /bin | 5.8k |
FRITZ!Box 7510 | 7.39 - 7.90 | /bin | 5.3k - 5.4k |
FRITZ!Box 7520 | 7.39 - 7.51 | /bin | 5.4k |
FRITZ!Box 7520 v2 (main) | 7.39 - 7.90 | /bin | 5.4k |
FRITZ!Box 7530 | 7.39 - 7.90 | /bin | 5.4k |
FRITZ!Box 7530 AX | 7.39 - 7.70 | /bin | 5.5k - 5.6k |
FRITZ!Box 7590 (main) | 7.39 - 7.90 | /bin | 5.7k - 5.8k |
FRITZ!Box 7590 AX (main) | 7.39 - 7.70 | /bin | 5.7k - 5.8k |
FRITZ!Box 7690 | 7.90 | /bin | 5.4k |
28 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2025-02-01 07:40 GMT.
Firmware | Symbol |
---|---|
7.39 - 7.90 | main |
1 symbol for this command |