Giter VIP home page Giter VIP logo

Comments (4)

ldidry avatar ldidry commented on June 26, 2024

What do you have when you do cat /proc/meminfo?

from dynamic-motd.

angristan avatar angristan commented on June 26, 2024
root@hydra ~# cat /proc/meminfo
MemTotal:        2097152 kB
MemFree:               0 kB
Cached:          1600704 kB
Buffers:               0 kB
Active:           379032 kB
Inactive:        1683328 kB
Active(anon):     165904 kB
Inactive(anon):   349120 kB
Active(file):     213128 kB
Inactive(file):  1334208 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                20 kB
Writeback:             0 kB
AnonPages:        515024 kB
Shmem:             53368 kB
Slab:              31960 kB
SReclaimable:      15192 kB
SUnreclaim:        16768 kB

from dynamic-motd.

ldidry avatar ldidry commented on June 26, 2024

You don't have MemAvailable, but I can't figure out why. Replace MemAvailable: by MemFree: in /etc/update-motd.d/sysinfo.py and it will work.

from dynamic-motd.

angristan avatar angristan commented on June 26, 2024

I confirm that it works. (Sorry for the delay :D)

from dynamic-motd.

Related Issues (7)

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.