Linux command grep
Top Tip: Command to find out ram size on Linux/Unix?
Tips used for Top Tips come from the ExtremeTech forum and are written by our community.
Question from ssnkumar
"Is there any command in Unix/Linux to find out how much ram is there in my comp?
I know that top gives the ram size also. But, I want a command which gives out only ram size?"
Answer from arb123
"cat /proc/meminfo"
Answer from evers310
"cat /proc/meminfo | grep MemTotal"
Got a better answer? Post it in the discussion that generated this tip.
Copyright ?? 2004 Ziff Davis Media Inc. All Rights Reserved. Originally appearing in ExtremeTech.