get system memory space in linux code example Example: check vm ram details in linux sudo dmidecode -t 17