Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

l008com

macrumors regular
Original poster
Jan 20, 2004
118
5
I have an intel Mac running Catalina, and I'm looking for a CLI program that can access all (not just the CPU) of the thermal sensors in a Mac. The full list of sensors, like the ones you can see in a program like MacsFanControl. I need a program I can use through a script, where I can scrape these sensor values and process them in the script, periodically.

I used to use a program called Hardware Monitor, which included a small CLI app to access all of the thermal sensors. But that software is not compatible with Catalina. I've googled up as many alternatives as I could find, things like `powermetrics`, but I haven't found anything that actually does what I need!

This is for my ColdMac project, an iMac that lives outside during the Winter. But I can't run it next season until I find a way to access the temperature sensors! If you know of anything, let me know.
 
"iSMC is an Apple System Management Controller (SMC) CLI tool that attempts to query SMC for a number of well known keys and determine their type and value, classifying them into temperature, power, current, voltage, fan and battery readouts. It will also attempt to give a human-readable description of each found SMC key."
https://github.com/dkorunic/iSMC
 
  • Love
Reactions: l008com
That seems like an interesting possibility, but I have a problem. What am I supposed to do with it? I assume I have to compile it? How do I do that? Theres no configure or makefile. Theres no xcode project file. I don't know how to use it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.