Hope this is a small part of your requirement , I guess you are working in the unix environment
so that I suggest you to go through the /proc/cpuinfo file , which contains all the details of the ...