Giter Site home page Giter Site logo

Comments (5)

MichaIng avatar MichaIng commented on July 24, 2024 1

Speicher:16646668288

Oh, this is the issue, there is no space after the colon, so that the 1st and the 2nd field merge into one. We could fix that one instead, but it is easier/faster to just apply C.UTF-8 locale, like we do on the interactive execution. This also avoids other possible parsing issues.

from dietpi.

MichaIng avatar MichaIng commented on July 24, 2024 1

Fixed with: bea468b
Please give it a try:

sudo wget 'https://raw.githubusercontent.com/MichaIng/DietPi/dev/dietpi/func/dietpi-banner' -O /boot/dietpi/func/dietpi-banner
sudo chmod +x /boot/dietpi/func/dietpi-banner
dietpi-banner 1

from dietpi.

jwgn avatar jwgn commented on July 24, 2024 1

Looks good. Switched back to German locale, RAM calculation is correct after ssh login.

from dietpi.

MichaIng avatar MichaIng commented on July 24, 2024

It's correct after opening and closing dietpi-banner, but incorrect right after ssh login.

Interesting, probably you locale switches the arguments. Can you show the output of:

free -b

from dietpi.

jwgn avatar jwgn commented on July 24, 2024
root@futro-s920-thinclient:~# free -b
              gesamt       benutzt     frei      gemns.  Puffer/Cache verfügbar
Speicher:16646668288   509284352 16182902784   100954112   324689920 16137383936
Swap:              0           0           0

Locale was set to de_DE.UTF-8.

I switched to en_US.UTF-8, now it is displayed correctly, even after a logout and new ssh connection:

- RAM usage : 496 of 15876 MiB (3%)

But the free -b output is identical:

root@futro-s920-thinclient:~# free -b
               total        used        free      shared  buff/cache   available
Mem:     16646668288   520585216 16171954176   100954112   324333568 16126083072
Swap:              0           0           0

from dietpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.