Linux : Getting the cache details
Reading through manuals can be quite a pain and its simple if you know your system and the right commands. I wanted to find out the L2 cache associativity and found some inconsistent details on different sites for the processor model i have. A reliable source to find this is : cat /sys/devices/system/cpu/cpu0/cache/index2/ways_of_associativity dmidecode is also supposed to print it.But some time it reports some values as Unknown.