Introduction:
If you are using a system and would like to determine its physical memory without physically checking, you can use the command line. This is also useful for scripting purposes, when a system or set of systems have indeterminate memory capacities.
Requirements:
A system with access to the command line.
Procedure:
Windows
- Open the command line
- Type the following command:
systeminfo
- Somewhere in the output, you should see a line similar to the following:
Total Physical Memory: 3,990 MB
- This is the total physical memory on the system.
Linux
- Open the command line
- Type the following command:
grep MemTotal /proc/meminfo
- You should see something similar to the following as output:
MemTotal: 4194304 kB
- This is your total available memory.