Outputs current CPU temperature for OSX.
make
./osx-cpu-temp
or
sudo make install # installs to /usr/local/bin
osx-cpu-temp
clib install lavoiesl/osx-cpu-temp
61.8 °C
-h
Print command line options.-C
Output temperature in Celsius (default).-F
Output temperature in Fahrenheit.-c [key]
Print CPU temperature, optionally providing the SMC key.-g [key]
Print GPU temperature, optionally providing the SMC key.-f
Output fan speed.-t key
Print temperature value of given SMC key.-r key
Print raw value of given SMC key.-a
Print ALL available SMC keys (without description!).
- see https://github.com/acidanthera/VirtualSMC/blob/master/Docs/SMCKeys.txt
- see https://app.assembla.com/wiki/show/fakesmc
Print the raw value of any key, if it exists
osx-cpu-temp -r '#KEY' # number of keys
osx-cpu-temp -r TC0P # CPU proximity sensor
Sébastien Lavoie github@lavoie.sl
Apple System Management Control (SMC) Tool Copyright (C) 2006