Hello,

I’ve been using Armbian on a bunch of ARM SCBs and they have a very nice MOTD on SSH login that shows CPU, RAM, Storage and networking infromation.

Is there anything similar for a regular x86 machine? I tried to grab the scripts from a NanoPi M4v2 board but had to change a ton of stuff to get it working on x86 and it isn’t portable as AMD and Intel report temps differently. Or… does anyone know if their x86 version has it working and where to get?

Just for reference I’m talking about this: https://cdn.tcb13.com/2023/armbian-motd.jpg

Thank you.

  • TCB13@lemmy.worldOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Yes, that script depends on /usr/lib/armbian/armbian-allwinner-battery that, in turn, depends on the armbianmonitor service. :(

    • wyrmroot@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Can’t you cut out the battery code since your screenshot indicates it wasn’t used? I should be clear that you’ll have to edit some bash scripts to make what you’re asking for happen.

      • TCB13@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        That’s an example, for instance the CPU temps depend on another os those files that is written by the armbianmonitor service… and I don’t want to run that service on a generic machine. In the past I modified the script to read temps from lm-sensors but that doesn’t seem to be very portable as both Intel and AMD have multiple variations on way they report the temps.

        This is why I’m mostly looking for an alternative.