linux see how much ram is used code example Example: check vm ram details in linux sudo dmidecode -t 17