Skip to content

enen92/smctemp

This branch is 66 commits behind narugit/smctemp:main.

Repository files navigation

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

About

Print CPU temperature of macOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.1%
  • Makefile 3.9%