WMIC CPU command displays a lot of information about the CPUs on a machine. It only displays the information about L3 cache, is there a way to figure out the size of L1 and L2 caches using a command or a tool on Windows 7?
Asked
Active
Viewed 5.9k times
6
coder_bro
- 161
- 1
- 1
- 3
-
1So you want to do this only from the command-line, using no 3rd party utilities? BTW, with `WMIC CPU` I see information returned for `L2CacheSize L2CacheSpeed L3CacheSize L3CacheSpeed`. – Karan Jun 13 '13 at 21:02
-
@Karan are there any other third party utilities? – coder_bro Jun 20 '13 at 12:21
-
1Got this http://www.cpuid.com/softwares/cpu-z.html thanks – coder_bro Jun 20 '13 at 12:28
2 Answers
11
To check your cache size check this checking CPU cache size and speed on Windows without 3rd party tool
Open your command-line (CMD) and type:
wmic cpu get L2CacheSize, L2CacheSpeed, L3CacheSize, L3CacheSpeed
This will return the cache sizes of the CPU. All the values returned will be KB.
-
1You need to include the answer in your post, a link only answer isn't good! The problem with links, is that they go bad. So, if some one in the future were to read this, and the link doesn't work, your answer is meaningless. Please copy the relevant part and cite the source. – Dave Dec 16 '13 at 10:22
-
1Welcome to Super User! Whilst this may theoretically answer the question, [it would be preferable](http://meta.stackexchange.com/q/8259) to include the essential parts of the answer here, and provide the link for reference. – Oliver Salzburg Dec 16 '13 at 10:49
-
0
I need the number only, because the output was:
L3CacheSize
8192
But if you need the number to use it later, use:
wmic cpu get L3CacheSize | findstr /r "[0-9][0-9]"
so the result will be(in my case 8M cache):
8192
Mohamad Osama
- 121
- 2