 we can determine the type of processor.<br>
<br>
  The code to do this can be lengthy, so most programmers<br>
  rely on libraries, programs, or other ways of obtaining<br>
  the information.  On linux we have the /proc file system<br>
  which does the job.  All we need to do is read /proc/cpuinfo<br>
  and we get something like this:<br>
<br>
    processor	: 0<br>
    vendor_id	: AuthenticAMD<br>
    cpu family	: 6<br>
    model		: 8<br>
    model name	: AMD Athlon(tm) MP<br>
    stepping	: 1<br>
    cpu 