Need to know how big the caches are on your processor? You could wade through the copious documentation on Intel or AMD’s web sites. It turns out this is no fun at all. I did this last week and still didn’t have the answer after skimming several white papers.
Here’s coreinfo at work (click to enlarge). Run from the command prompt it displays all sorts of information about the processor hardware: