Remotely get hardware info

Is there any way to determine hardware info remotely for a device running BalenaOS? I can ssh into the host os but tools like dmidecode aren’t present.

Oooh looks like i can get most of what I need by using cat on files in /sys/devices/virtual/dmi/id/

What kind of hardware info are you looking for? There is some hardware info in the device’s balenaCloud dashboard. You could also use the balena API/SDKs to retreive device info: Resources | balena

Like model information, motherboard, RAM, etc. I was able to find what I needed in /sys though :slight_smile:

1 Like

If you find yourself needing this frequently I’ve found having a container on the device which reports key hardware information to Balena as tags on the device can be quite useful, allows us to do things like quickly seeing which devices might be affected by firmware bugs in their LTE modems and the like.