/smctemp

Print CPU temperature of macOS

Primary LanguageC++GNU General Public License v2.0GPL-2.0

smctemp

Print CPU temperature on macOS.

It works on x86_64 and arm64(M1 mac).

Acknowledgements

I took the code from hholtmann/smcFanControl/smc-command and modified it to specialize in temperature acquisition.

How to Use

$ git clone https://github.com/narugit/smctemp
$ cd smctemp
$ sudo make install
$ smctemp -c

Usage

$ smctemp -h
Check Temperature by using Apple System Management Control (Smc) tool 0.1
Usage:
smctemp [options]
    -c         : list CPU temperatures (Celsius)
    -h         : help
    -l         : list all keys and values
    -v         : version

$ smctemp -c
64.2