Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add options, allow passing SMC key #36

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,37 @@ clib install lavoiesl/osx-cpu-temp
### Options

* Output
* `-c` Display CPU temperature (Default).
* `-g` Display GPU temperature.
* `-c [key]` Print CPU temperature, optionally providing the SMC key.
* `-g [key]` Print GPU temperature, optionally providing the SMC key.
* `-a` Display ambient temperature.
* `-f` Display fan speeds.
* `-t key` Print temperature value of given SMC key.
* `-r key` Print raw value of given SMC key.
* Format
* `-C` Display temperatures in degrees Celsius (Default).
* `-F` Display temperatures in degrees Fahrenheit.
* `-T` Do not display the units for temperatures.

### Explore keys
* see https://github.com/acidanthera/VirtualSMC/blob/master/Docs/SMCKeys.txt
* see https://app.assembla.com/wiki/show/fakesmc

Print the raw value of any key, if it exists
```shell script
osx-cpu-temp -r '#KEY' # number of keys
osx-cpu-temp -r TC0P # CPU proximity sensor
```

### Explore keys
* see https://github.com/acidanthera/VirtualSMC/blob/master/Docs/SMCKeys.txt
* see https://app.assembla.com/wiki/show/fakesmc

Print the raw value of any key, if it exists
```shell script
osx-cpu-temp -r '#KEY' # number of keys
osx-cpu-temp -r TC0P # CPU proximity sensor
```

## Maintainer

Sébastien Lavoie <[email protected]>
Expand Down
Loading