check memory cpu usage linux code example Example: check vm ram details in linux sudo dmidecode -t 17