NEWS
Blockly zum Netzwerktraffic tut's nicht mehr
-
@thomas-braun sagte in Blockly zum Netzwerktraffic tut's nicht mehr:
Waren denn die
net-tools
dabei?ja!
jetzt wo du das sagst!edit
falls das was hilft:pi@ioBrokerpi5:~ $ apt policy net-tools net-tools: Installed: 2.10-0.1+deb12u1 Candidate: 2.10-0.1+deb12u1 Version table: *** 2.10-0.1+deb12u1 500 500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages 100 /var/lib/dpkg/status 2.10-0.1 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages pi@ioBrokerpi5:~ $
-
-
-
@thomas-braun
jepp2: eth0: group offload subgroup hw_stats_info l3_stats off used off 2: eth0: group afstats subgroup mpls 2: eth0: group link RX: bytes packets errors dropped missed mcast 87950320 151779 0 3717 0 4387 TX: bytes packets errors dropped carrier collsns 48886205 113285 0 0 0 0 2: eth0: group offload subgroup l3_stats off used off 2: eth0: group offload subgroup cpu_hit 2: eth0: group xstats_slave subgroup bond suite 802.3ad 2: eth0: group xstats subgroup bond suite 802.3ad 2: eth0: group xstats_slave subgroup bridge suite mcast 2: eth0: group xstats_slave subgroup bridge suite stp 2: eth0: group xstats subgroup bridge suite mcast 2: eth0: group xstats subgroup bridge suite stp
-
ifconfig ist ohnehin veraltet, man verwendet mittlerweile besser iproute2-Befehle wie
ip
. -
@thomas-braun sagte in Blockly zum Netzwerktraffic tut's nicht mehr:
ifconfig ist ohnehin veraltet
mein Blockly auch
ich mzsste mich ja selber erst mal wieder einarbeiten, so alt ist das.
-
Ich würde das aber wie oben von @Asgothian gezeigt auch direkt auslesen. Dann musst du da nicht so umständlich herumparsen.
-
@thomas-braun
ach was!?
-
-
@thomas-braun jetzt muss ich noch den Faktor zur Umrechnung von x bytes/ 15 sek in kbit/sec haben.
ich hab da mal was von 1920 gerechnet, aber mit Dreisatz hab ich es noch nie gehabt