Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lavoiesl/osx-cpu-temp
Outputs current CPU temperature for OSX
https://github.com/lavoiesl/osx-cpu-temp
cpu-temperature macos osx sensors temperature
Last synced: 6 days ago
JSON representation
Outputs current CPU temperature for OSX
- Host: GitHub
- URL: https://github.com/lavoiesl/osx-cpu-temp
- Owner: lavoiesl
- License: gpl-2.0
- Created: 2012-05-14T07:33:59.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-08-30T08:24:54.000Z (over 1 year ago)
- Last Synced: 2024-03-15T02:14:03.772Z (10 months ago)
- Topics: cpu-temperature, macos, osx, sensors, temperature
- Language: C
- Homepage:
- Size: 48.8 KB
- Stars: 914
- Watchers: 20
- Forks: 156
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# OSX CPU Temp
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
* Output
* `-c` Display CPU temperature (Default).
* `-g` Display GPU temperature.
* `-a` Display ambient temperature.
* `-f` Display fan speeds.
* Format
* `-C` Display temperatures in degrees Celsius (Default).
* `-F` Display temperatures in degrees Fahrenheit.
* `-T` Do not display the units for temperatures.## 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