Hi,
Welcome to LQ!
(Linux is Not Windows) 'Refers to the GNU/Linux OS and various Free & Open-Source Software (FOSS) projects under the catch-all name of "Linux".
You would need to use the compiler & linker for a M$ based system if a executable is to be run on same.
For a Gnu/Linux system you can look at '/proc/meminfo';
Code:
~# cat /proc/meminfo
which would provide the information.