Memory Usage in Linux
From the Linux Essential Commands cheat sheet · System Information · verified Jul 2026
Memory Usage
View RAM and swap memory usage
bash
# Memory info
free -h
# Detailed memory info
cat /proc/meminfo
# Memory by process
top
ps aux --sort=-%mem | head✅ free -h shows total, used, and available RAM
💡 -h displays in human-readable format
🔍 Check available column for actual free memory
memoryramsystem