Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to see the memory use from command line: I have Win 8 for 64bit and mem command doesn't work. Even if it would have worked I'm not sure would give the memory for the entire system.

How can I see the memory use from command line, that info that can be found in Performance tab in Task Manager?

share|improve this question

migrated from stackoverflow.com May 27 '13 at 14:24

This question came from our site for professional and enthusiast programmers.

3 Answers 3

up vote 1 down vote accepted

Try Powershell:

Get-Counter '\Memory\Available MBytes'

List of counters:

Get-Counter -ListSet *memory* | Select-Object -ExpandProperty Counter

share|improve this answer

After searching the internet I found this:

The mem command shows information about used and free memory areas and programs that are currently loaded into memory in the MS-DOS subsystem.

The mem command is available in MS-DOS as well as in all 32-bit versions of Windows. The mem command is not available in 64-bit versions of Windows.

On this website: http://pcsupport.about.com/od/commandlinereference/tp/command-prompt-commands-p2.03.htm

A workaround is this one: wmic os get FreePhysicalMemory

share|improve this answer
    
I need the Used memory :) –  Eduard Florinescu May 27 '13 at 12:34

I found info in a similar question here: How to check available memory (RAM) via batch script? And modified a command for my needs:

syteminfo | find /i "use"
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.