Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

Outputs current CPU core and package temperatures on macOS.

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.

## Maintainer

hacker1024 \

### 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