Ruby gem for your mac stats
iStats is a command-line tool that allows you to easily grab the CPU temperature, fan speeds and battery information on OS X. If you'd like to see more data available feel free to open an issue.
$ gem install iStatsIf you are running an older version of OS X and the install fails you might want to try running this command instead:sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install iStats
…iStats now supports extra sensors for advanced users. Here's how to enable that functionality:
istats scan to scan your computer for SMC sensorsistats enable key or istats enable allistats or istats extra to see the extra sensors information.git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)
MacBook Pro 2016
macOS: 10.12.6
Ruby: 2.4.1
MacBook Pro 2011
OS X: 10.11.6
Ruby: 2.0.0
MacBook Pro 2012
OS X: 10.9.3
Ruby: 1.9.3, 2.0.0, 2.1.1
MacBook Pro 2014
OS X: 10.10.3, 10.10.4
Ruby: 2.1.3
Mac Pro 2013
OS X: 10.12.6
Ruby: 2.0.0
iStats has a "scan zabbix" mode which will emit JSON suitable for use with
Zabbix low-level discovery. See the accompanying
template and agent config in the integrations directory.
No open issues yet, or sync has not completed.