Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hacker1024/coretemp
Outputs current CPU core and package temperatures on macOS.
https://github.com/hacker1024/coretemp
c cores cpu iokit macos osx osx-cpu-temp smc system-monitor
Last synced: 3 months ago
JSON representation
Outputs current CPU core and package temperatures on macOS.
- Host: GitHub
- URL: https://github.com/hacker1024/coretemp
- Owner: hacker1024
- License: gpl-2.0
- Fork: true (lavoiesl/osx-cpu-temp)
- Created: 2020-09-14T05:38:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-26T14:04:30.000Z (about 3 years ago)
- Last Synced: 2024-08-02T15:30:23.619Z (6 months ago)
- Topics: c, cores, cpu, iokit, macos, osx, osx-cpu-temp, smc, system-monitor
- Language: C
- Homepage:
- Size: 86.9 KB
- Stars: 40
- Watchers: 1
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# coretemp
Outputs current CPU core and package temperatures on macOS.
## Usage
### Install with brew
```bash
brew install hacker1024/hacker1024/coretemp
```### Compile manually
```bash
make
```### Run manually
```bash
./coretemp
```or
```bash
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 ` Specify which cores to report on, in a comma-separated list. If unspecified, reports all temperatures.
* `-r ` 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.
## Maintainerhacker1024 \
### Source
Apple System Management Control (SMC) Tool
Copyright (C) 2006### Inspiration
* https://github.com/lavoiesl/osx-cpu-temp
* https://www.eidac.de/smcfancontrol/
* https://github.com/hholtmann/smcFanControl/tree/master/smc-command