MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.9k stars 499 forks source link

Add load average to dietpi-banner #7186

Closed rkok closed 3 months ago

rkok commented 3 months ago

Seemed useful :-)

loadavg

MichaIng commented 3 months ago

Thanks, why not. I didn't know /proc/loadavg, always used uptime 😄.

Please add another 0 to the aENABLED array defined below the aDESCRIPTION array. Practically does not make a difference, since empty string fails (( $var )) test as well silently, but better to have it explicitly defined as disabled by default.

rkok commented 3 months ago

Thanks, why not. I didn't know /proc/loadavg, always used uptime 😄.

Please add another 0 to the aENABLED array defined below the aDESCRIPTION array. Practically does not make a difference, since empty string fails (( $var )) test as well silently, but better to have it explicitly defined as disabled by default.

Done!