check total amount of memory linux code example Example: check vm ram details in linux sudo dmidecode -t 17