Conky reporting incorrect info for network interface

Creating a bug report/issue

Required Information

  • DietPi version | 8.15.2
  • Distro version | bullseye
  • Kernel version | Linux Server 5.4.230-odroidxu4 #23.02.2 SMP PREEMPT Fri Feb 17 23:42:09 UTC 2023 armv7l GNU/Linux
  • SBC model | ODroid XU4
  • Power supply used | 6V 2A
  • SD card used | SanDisk HighEndurance

Having some weird output on Conky from the default network interface.

Here’s the relevant section from my Conky configuration:

${font size=12} Network Usage${font} ${hr}
⬇   Down: ${alignr}${downspeed eth0}/s
↘️   Received: ${alignr}${totaldown eth0 }

⬆️   Up: ${alignr}${upspeed eth0}/s
↗️   Sent: ${alignr}${totalup eth0}

Here’s what it outputs:


The info on the download side of transfers might not be inaccurate, but the upload side surely is (this screenshot was taken less than an hour after cold boot)

List of network interfaces on the device:

$ ls -d /sys/class/net/*/device | cut -d/ -f5

$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000

Even though the correct network interface was specified in the configuration, it behaves as if it receives malformed data/statistics, or queries the wrong device.

Any idea how to fix this?

did you tried to contact the vendor of this software? And ask why it might show incorrect values even if it looks like configured correctly?