LKBEN11394: Find out how much RAM a windows server has, from the command line


Symptom

You want to know the speed and the RAM capacity

Cause

When having performance problems it might be good to know the RAM or just to know if you can still expand

Solution

From the GUI you can use taskmanager and look in the memory tab.

From the command line you can use the following command:

wmic MEMORYCHIP get BankLabel,DeviceLocator,Capacity,Speed

This is an output on a server system:

BankLabel  Capacity    DeviceLocator    Speed
           8589934592  PROC  1 DIMM  1  1333
           8589934592  PROC  1 DIMM  2  1333
           8589934592  PROC  1 DIMM  3  1600
           8589934592  PROC  1 DIMM  4  1333
           8589934592  PROC  1 DIMM  5  1333
           8589934592  PROC  1 DIMM  6  1600
           8589934592  PROC  1 DIMM  7  1600
           8589934592  PROC  1 DIMM  8  1333
           8589934592  PROC  1 DIMM  9  1333
           8589934592  PROC  1 DIMM 10  1600
           8589934592  PROC  1 DIMM 11  1333
           8589934592  PROC  1 DIMM 12  1333
           8589934592  PROC  2 DIMM  1  1333
           8589934592  PROC  2 DIMM  2  1333
           8589934592  PROC  2 DIMM  3  1600
           8589934592  PROC  2 DIMM  4  1333
           8589934592  PROC  2 DIMM  5  1333
           8589934592  PROC  2 DIMM  6  1600
           8589934592  PROC  2 DIMM  7  1600
           8589934592  PROC  2 DIMM  8  1333
           8589934592  PROC  2 DIMM  9  1333
           8589934592  PROC  2 DIMM 10  1600
           8589934592  PROC  2 DIMM 11  1333
           8589934592  PROC  2 DIMM 12  1333

As an alternative, to just find the total memory (RAM = random access memory), you can use:

sysinfo > %temp%\sysinfo.txt

notepad %temp%\sysinfo.txt

In your text editor you can now see the total amount of memory. Please note, this is language specific.

...

Gesamter physischer Speicher:                  196.573 MB
Verfgbarer physischer Speicher:               117.025 MB
Virtueller Arbeitsspeicher: Maximale Große:    196.573 MB
Virtueller Arbeitsspeicher: Verfgbar:         116.996 MB
Virtueller Arbeitsspeicher: Zurzeit verwendet: 79.577 MB

...

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.

Latest update: 19-09-2020 | Comment: