w to fetch memory info in bash code example Example: check vm ram details in linux sudo dmidecode -t 17