ram usage and ram in ubuntu software code example Example: ubuntu ram type sudo dmidecode | grep -A 15 Memory