Use the following command in a terminal:
$ cat /proc/version
20 Wednesday Oct 2010
16 Saturday Jan 2010
The information about the CPU is stored in /proc/cpuinfo. The following command will show you the number of processors by reading that file:
$ grep processor /proc/cpuinfo | wc -l
A simple
$ grep -c processor /proc/cpuinfo
should also be enough!