check the ram of a linux server code example Example: how to get ram detail in linux sudo dmidecode --type 17