Here are a few ways to find out your cpu temperature on a pi running raspian.
/opt/vc/bin/vcgencmd measure_temp temp=49.8'C
cat /sys/class/thermal/thermal_zone0/temp 49768
cat /sys/devices/virtual/thermal/thermal_zone0/temp 49768
perl -e 'm/(d+)/; $x=$1; s/d+//; printf ("%.1f", ( $x / 1000))' -p /sys/class/thermal/thermal_zone0/temp 49.8
gawk '{print $1/1000,"degrees C"}' /sys/class/thermal/thermal_zone0/temp 49.768 degrees C