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 6.0k times
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.
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