-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RAM size shown is incorrect (Debian 9.2) #14
Comments
My system reads "128TB RAM" with this tool, too, but it only has 16 GB RAM. Ubuntu 16.04 64-bit. |
This is because on recent Linux /proc/iomem is filled with zeros for security reasons. When I get a chance I'll see what the best alternative to use is. |
I wonder what inxi reads to display RAM size? Might be a good place to get ideas. |
I decided to do some research on my own. Neofetch, a similar program, grabs memory from
This should be incredibly easy to pull the info from, it's just string parsing. Here's their code. |
Confirmed in Slackware -current 64bit (post 14.2). |
Also true on current Arch. |
This |
should be fixed with 714bb13 |
@deater
|
@wbraswell The updated version of this package will be included in future versions of Ubuntu, and it definitely will not be added to 16.04. |
The display above is from a machine with only 3GB RAM,
And this one has 32GB RAM.
Thank you. :)
The text was updated successfully, but these errors were encountered: