View laptop hardware statistics How can I return the temperatures, fan speeds, etc, using Terminal?
This website claims to have a free commandline tool to monitor temperature sensors.

http://www.bresink.de/osx/0TemperatureMonitor/details.html


  tempmonitor command-line tool
  
  Temperature Monitor
  
  version for the BSD command-line of Mac OS X, temperature sensors only
  
  yes


(Name of tool; part of package download; description; free of charge?)