# osx-cpu-temp **Repository Path**: wx_10/osx-cpu-temp ## Basic Information - **Project Name**: osx-cpu-temp - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-21 - **Last Updated**: 2024-07-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # OSX CPU Temp ## References * [smcFanControl](https://github.com/hholtmann/smcFanControl) * [SMC keys](https://github.com/beltex/SMCKit/blob/master/SMCKit/SMC.swift#L454) * [SMC keys](https://github.com/beltex/libsmc/blob/master/include/smc.h#L60) * [SMC Sensor Codes](https://logi.wiki/index.php/SMC_Sensor_Codes) ``` CPU Temp: TC0F GPU Temp: TGDD ``` --- Outputs current CPU temperature for OSX. ## Usage ### Compiling ```bash make ``` ### Running ```bash ./osx-cpu-temp ``` or ```bash sudo make install # installs to /usr/local/bin osx-cpu-temp ``` ### Using clib ```bash 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 ### Source Apple System Management Control (SMC) Tool Copyright (C) 2006 ### Inspiration * https://www.eidac.de/smcfancontrol/ * https://github.com/hholtmann/smcFanControl/tree/master/smc-command