This commit is contained in:
yifan wang 2020-11-28 00:32:25 -05:00
parent c716f59b48
commit b5f54eaacc
1 changed files with 6 additions and 2 deletions

View File

@ -12,16 +12,20 @@ Only test with my Mac mini with M1. Please check your mac's `ioreg -lfx` output
## References
For better name for the sensors, please refer to
For better names (e.g. what is `PMU TP3w` ?) for the sensors, please refer to
https://github.com/exelban/stats/blob/master/Modules/Sensors/values.swift
https://github.com/acidanthera/VirtualSMC/blob/master/Docs/SMCSensorKeys.txt
Similar code for getting sensor values using IOKit (for intel Mac)
Here is a similar code in swift for getting sensor values using IOKit (for intel Mac)
https://github.com/exelban/stats/blob/master/Modules/Sensors/values.swift
For intel Mac, an easier way to get sensor infomation:
`sudo powermetrics`
## screen shot and screen record