Hello all!
Tomorrow, I will release the AQUA OS 1.2, and in it, will be widget pages. Further down the line, in future updates, I'd like to add more and more widgets. And for one of them I'd like to be able to show specs, like RAM. For now, I think that just RAM is enough.
So my question is, how can I get the amount of RAM that is in the computer?
Thanks in advance!
Getting amount of RAM in the computer
Re: Getting amount of RAM in the computer
Grub gives you a memory map, count the bytes and round it up
- obiwac
- Member
- Posts: 149
- Joined: Fri Jan 27, 2017 12:15 pm
- Libera.chat IRC: obiwac
- Location: Belgium
Re: Getting amount of RAM in the computer
That is very true, and quite embarrassing since I just implemented the code for reading the mmap from GRUB!
Just had to multiply all the size values. Derp.
Thanks!
Just had to multiply all the size values. Derp.
Thanks!