created: 2022-06-17T03:37:41.606Z

macのcpuの温度をとる

iStatsを使うと簡単

$ sudo gem install iStats
$ istats cpu temp --no-graphs | perl -nlE '/(\S+)°C/ and say $1'
56.88