This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************* | |
WHAT: Read SMC keys that Apple's powermetrics tool uses. Requires OS X 10.10 | |
RUN: sudo dtrace -qCs powermetrics.d -c 'powermetrics --sampler smc -n 1' | |
DETAIL: This lets us see what hardware components/functions they map to. | |
LICENSE: MIT | |
AUTHOR: beltex <http://beltex.github.io> | |
REFERENCES: | |
- Advanced Mac OS X Programming: The Big Nerd Ranch Guide |