Friday, 28 August 2015

HOW TO FIND PHYSICAL MEMORY SIZS FROM COMMAND LINE

IN WINDOWS , WE CAN FIND THE PHYSICAL MEMORY SIZW FROM COMMAND LINE.WE CAN DO THIS EITHER USING SYSTEMINFO OR WMIC COMMAND .BOTH THE COMMAND ARE GIVEN BELOW.
 
USING SYSTEMINFO COMMAND
 OPEN COMMAND PROMPT AND TYPE THESE CODE
 
SYSTEMINFO | FINDSTR /C:"TOTAL PHYSICAL MEMORY"

EXAMPLE
 C:\>SYSTEMINFO |FINDSTR /C:"TOTAL PHYSICAL MEMORY"
 TOTAL PHYSICAL MEMORY: 3,794 MB

USNG WMIC COMMAND
OPEN COMMAND PROMPT AND TYPE THESE CODE
WMIC MEMORYCHIP LIST FULL
 THIS COMMAND GIVES GET CAPACITY
CAPACITY
4294967296


THE EXAMPLE COMMANDS ARE RUN ON THE SAME COMPUTER. AS YOU MIGHT HAVE NOTICED, THE VALUE SHOWED BY SYSTEMINFO COMMAND IS LESS THAN WHAT WMIC COMMAND SHOWS.
THIS DISCREPANCY CAN BE UNDERSTOOD AS FOLLOWS.WMIC COMMAND SHOWS THE TOTAL INSTALLED MEMORY ON THE SYSTEM WHERE AS SYSTEMINFO COMMAND SHOWS USABLE MEMORY.

                                              
                                              PLEASE SHARE  THIS BLOG

No comments:

Post a Comment