linux measure total memory used by command code example Example: check vm ram details in linux sudo dmidecode -t 17