#macos #cpu #smc

app macstats

Read system stats from macOS SMC

4 releases

0.1.3 Jul 7, 2020
0.1.2 Jun 12, 2020
0.1.1 Jun 10, 2020
0.1.0 Jun 10, 2020

#512 in Operating systems

MIT/Apache

76KB
1.5K SLoC

crates.io

macstats

SMC command line util for macOS

Read cpu temperatures and fan speeds from macOS SMC

Examples

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

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

Dependencies