iSMC
v0.9.1
iSMCは、Appleシステム管理コントローラー(SMC)CLIツールであり、多くのよく知られているキーを照会し、その種類と値を決定し、温度、電力、電流、電圧、ファン、バッテリーの読み取りに分類します。また、発見された各SMCキーの人間が読みやすい説明を提供しようとします。
通常の(PPCおよびIntelハードウェア)の定期的なサポートとは別に、HIDセンサーハブに接続された温度/電圧/電流/電源センサーを備えたM1 ARMベースのSOCハードウェアもサポートしています。

iSMCをインストールするには2つの方法があります(MacOSコンピューターでのみツールが機能します)。
リリースページからお好みのフレーバーをダウンロードして、手動でインストールします。
CGO_ENABLED=1 go install github.com/dkorunic/iSMC@latest使用法:
$ iSMC help
Apple SMC CLI tool that can decode and display temperature, fans, battery, power, voltage and current
information for various hardware in your Apple Mac hardware.
Usage:
iSMC [flags]
iSMC [command]
Available Commands:
batt Display battery status
completion Generate the autocompletion script for the specified shell
curr Display current sensors
fans Display fans status
help Help about any command
power Display power sensors
temp Display temperature sensors
volt Display voltage sensors
Flags:
-h, --help help for iSMC
-o, --output string Output format (ascii, table, json) (default " table " )
Use " iSMC [command] --help " for more information about a command.すべてのコマンドの使用は自明であり、すべてのコマンドには短いエイリアスと長いエイリアスがあります(バット対バット対バッテリー、Cur vs. Currなど)。フラグやスイッチはありません。
私は多くのApple SMC関連のプロジェクトを見て、それらからインスピレーションを得ました。
計画された機能:
PRを開くか、問題を報告してください。ありがとう!