this post was submitted on 31 Aug 2023
45 points (100.0% liked)

Linux

48033 readers
1042 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
45
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (1 children)

I managed to mount the image and extract the files, however it still fails on a regular Debian box, x86 as a few tools seem to be missing:

./30-armbian-sysinfo
./30-armbian-sysinfo: line 41: /usr/lib/armbian/armbian-allwinner-battery: No such file or directory
./30-armbian-sysinfo: line 92: ambienttemp: command not found
./30-armbian-sysinfo: line 94: batteryinfo: command not found
./30-armbian-sysinfo: line 96: getboardtemp: command not found
System load:   1%               Up time:       7 days 19:15
Memory usage:  34% of 15.59G    Zram usage:    1% of 14.90G     IP:            10.12.125.1 172.21.1.11
Usage of /:    24% of 916G
storage/:      1% of 952M
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Grabbing armbian-allwinner-battery doesn't help as it depends of stuff like /etc/armbianmonitor/datasources/ambienttemp