Skip to content

lavoiesl/osx-cpu-temp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
May 22, 2019 11:27
bin
May 22, 2019 11:34
October 28, 2014 14:42
May 17, 2019 17:02
May 22, 2019 13:33
May 17, 2019 17:02
September 11, 2018 11:44
May 17, 2019 17:02

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