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