macOS-macOS的系统信息ioregistry
All of the data in iStat is just from keys in the ioregistry. You can pull a dump of it from the command line using ioreg:
1  |  | 
https://apple.stackexchange.com/a/16325
- 查看电池信息 
ioreg -rn AppleSmartBattery 
macOS-macOS的系统信息ioregistry
 https://dnacore.github.io/post/f732fb8d-7df7-4349-a15a-8219edb1e218.html