free -m does not seems to include memory used by RAM disks (tmpfs filesystems). Maybe because it's something in the kernel space?
How do I get the real memory usage (or it's opposite, free memory) including the allocated space of filesystems that reside in RAM like tmpfs?
I currently check for the memory usage by running df -h and adding the "In use" numbers to the -/+ buffers/cache number. Is there a command available that gives me the real memory usage?

free -m; cat /proc/meminfo; swapon -s; mount(while you have that tmpfs you mention) – medigeek Jul 1 '12 at 6:28df -h-- Darn, I just noticed that this question is old, sorry. – medigeek Jul 1 '12 at 6:35free -m;cat /proc/meminfo>1; dd if=/dev/zero of=/tmp/big bs=1M count=400; free -m;cat /proc/meminfo>2;diff -u 1 2(assuming that/tmpis mounted as tmpfs and has at least 400MiB memory available) – Lekensteyn Jul 1 '12 at 9:28