Skip to content

Outputs current CPU core and package temperatures on macOS.

License

Notifications You must be signed in to change notification settings

hacker1024/coretemp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coretemp

Outputs current CPU core and package temperatures on macOS.

Usage

Install with brew

brew install hacker1024/hacker1024/coretemp

Compile manually

make

Run manually

./coretemp

or

sudo make install # installs to /usr/local/bin
coretemp

Output example

62
58
59
58

Options

  • -C Output temperature in Celsius (default).
  • -F Output temperature in Fahrenheit.
  • -c <num> Specify which cores to report on, in a comma-separated list. If unspecified, reports all temperatures.
  • -r <num> The accuracy of the temperature, in the number of decimal places. Defaults to 0.
  • -p Display the CPU package temperature instead of the core temperatures.

Maintainer

hacker1024 <[email protected]>

Source

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

Inspiration

Languages

  • C 90.0%
  • Shell 6.0%
  • Makefile 2.8%
  • HCL 1.2%