<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>cpu on Christian Knedel</title>
    <link>https://www.christian-knedel.de/ja/tags/cpu/</link>
    <description>Recent content in cpu on Christian Knedel</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>ja-jp</language>
    <lastBuildDate>Fri, 14 Feb 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://www.christian-knedel.de/ja/tags/cpu/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Raspberry PI：PI用CPUのヒートフリー化</title>
      <link>https://www.christian-knedel.de/ja/post/2020/february/20200214-rpi-cpu-temp/</link>
      <pubDate>Fri, 14 Feb 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/ja/post/2020/february/20200214-rpi-cpu-temp/</guid>
      <description>特定の温度でラズベリーのスイッチを切るならCrontab経由でCPUの温度をチェックするスクリプトがあるのですが。
#!/bin/sh # This script reads the Broadcom SoC temperature value and shuts down if it # exceeds a particular value. # 80ºC is the maximum allowed for a Raspberry Pi. # Get the reading from the sensor and strip the non-number parts SENSOR=&amp;quot;`/opt/vc/bin/vcgencmd measure_temp | cut -d &amp;quot;=&amp;quot; -f2 | cut -d &amp;quot;&#39;&amp;quot; -f1`&amp;quot; # -gt only deals with whole numbers, so round it. TEMP=&amp;quot;`/usr/bin/printf &amp;quot;%.</description>
    </item>
    
  </channel>
</rss>
