Outputs current CPU temperature for OSX
Switch branches/tags
Nothing to show
Clone or download
Latest commit 9747e5e Sep 11, 2018
Permalink
Failed to load latest commit information.
.gitignore added .gitignore Oct 28, 2014
Makefile Fix make install path, Fixes #10 Dec 29, 2016
README.md Update README.md (#16) Jun 6, 2018
package.json Bump version to 1.1 Sep 11, 2018
smc.c Refactor and add gpu/fan Sep 11, 2018
smc.h Refactor and add gpu/fan Sep 11, 2018

README.md

OSX CPU Temp

Outputs current CPU temperature for OSX.

Usage

Compiling

make

Running

./osx-cpu-temp

or

sudo make install # installs to /usr/local/bin
osx-cpu-temp

Using clib

clib install lavoiesl/osx-cpu-temp

Output example

61.8°C

Options

  • -C Output temperature in Celsius (default).
  • -F Output temperature in Fahrenheit.
  • -f Output fan speed.

Maintainer

Sébastien Lavoie github@lavoie.sl

Source

Apple System Management Control (SMC) Tool Copyright (C) 2006

Inspiration