Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/somdipdey/osx-temp-freq
Outputs current CPU temperature and frequency for OSX.
https://github.com/somdipdey/osx-temp-freq
cpu-temperature frequency macos osx sensors sensors-data-collection temperature
Last synced: 16 days ago
JSON representation
Outputs current CPU temperature and frequency for OSX.
- Host: GitHub
- URL: https://github.com/somdipdey/osx-temp-freq
- Owner: somdipdey
- License: mit
- Created: 2018-08-23T23:10:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-23T23:48:33.000Z (over 6 years ago)
- Last Synced: 2024-11-05T19:19:39.882Z (2 months ago)
- Topics: cpu-temperature, frequency, macos, osx, sensors, sensors-data-collection, temperature
- Language: C
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OSX CPU Temperature and Frequency
Outputs current CPU temperature (in °C) and frequency (in Hz) for OSX.
## Build for OSX:
[![Build Status](https://travis-ci.org/somdipdey/osx-temp-freq.svg?branch=master)](https://travis-ci.org/somdipdey/osx-temp-freq)
[![License: MIT](https://img.shields.io/badge/License-MIT-red.svg)](https://github.com/somdipdey/osx-temp-freq/blob/master/LICENSE)## Usage
### Compiling
```bash
make
```### Running
```bash
./osx-temp-freq
```or
```bash
./osx-temp-freq my_output_file.csv # Output frequency and temperature inside a file in the same directory as the program with the specified file name, `my_output_file.csv`
```or
```bash
sudo make install # installs to /usr/local/bin
osx-temp-freq
```### Output example
```
CPU Temperature at 0:1:45 : 53.9°C
CPU Frequency at 0:1:45 : 2599944981
```### Options
* `my_output_file.csv` Output frequency and temperature inside a file in the same directory as the program with the specified file name, `my_output_file.csv`.
## Maintainer
Somdip Dey,
### Inspiration
* https://github.com/lavoiesl/osx-cpu-temp
* http://www.eidac.de/smcfancontrol/
* https://github.com/hholtmann/smcFanControl/tree/master/smc-command