Linux – How to find the L2 cache size in Linux

debianlinuxunix

I wanted to know how to find L2 cache size in Linux…

for L1 cache size, I am doing the following

pico /proc/cpuinfo

what about L2 cache size?

Best Answer

cat /sys/devices/system/cpu/cpu0/cache/index2/size

or check dmidecode

or use lshw

Related Question