https://github.com/knutwalker/macstats
https://github.com/knutwalker/macstats
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/knutwalker/macstats
- Owner: knutwalker
- License: mit
- Created: 2020-05-30T20:46:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-05T16:58:29.000Z (over 5 years ago)
- Last Synced: 2025-07-21T16:16:45.785Z (11 months ago)
- Language: Rust
- Size: 55.7 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://crates.io/crates/macstats)
# macstats
SMC command line util for macOS
Read cpu temperatures and fan speeds from macOS SMC
## Examples
```bash,ignore
> macstats
... a lot of output
> macstats all
... even more output
> macstats temp
... only temperatures
> macstats cpu
... only CPU temperatures
> macstats gpu
... only GPU temperatures
> macstats other
... only other temperatures
> macstats fan
... only fan speeds
> macstats battery
... only battery info
> macstats power
... only power info
> macstats debug
... dump all knwon symbols
```
The functionality is provided by [`macsmc`](https://docs.rs/macsmc/*/macsmc/).
## Build
```
make
make install
```
This will put the binary into `/usr/local/bin/`, which can be changed with `$PREFIX`,
e.g. `PREFIX=/opt make install` to put it in `/opt/bin`.
License: MIT OR Apache-2.0