{"id":40,"date":"2026-11-18T22:48:55","date_gmt":"2026-11-18T14:48:55","guid":{"rendered":"https:\/\/www.scotthk.com\/?p=40"},"modified":"2026-11-18T22:48:55","modified_gmt":"2026-11-18T14:48:55","slug":"%e4%bd%bf%e7%94%a8-vcgencmd-%e6%8c%87%e4%bb%a4%e6%9f%a5%e7%9c%8b-raspberry-pi-%e7%9a%84-cpu-%e6%ba%ab%e5%ba%a6","status":"publish","type":"post","link":"https:\/\/www.scotthk.com\/?p=40","title":{"rendered":"\u4f7f\u7528 vcgencmd \u6307\u4ee4\u67e5\u770b Raspberry Pi \u7684 CPU \u6eab\u5ea6"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u8981\u5728 Raspberry Pi \u4e0a\u67e5\u770b CPU\uff08SoC\uff09\u7684\u5373\u6642\u6eab\u5ea6\uff0c\u6700\u76f4\u63a5\u7684\u6307\u4ee4\u662f <strong><code>vcgencmd measure_temp<\/code><\/strong>\u3002\u57f7\u884c\u5f8c\u7d42\u7aef\u6a5f\u6703\u76f4\u63a5\u56de\u50b3\u76ee\u524d\u7684\u651d\u6c0f\u6eab\u5ea6\u6578\u503c\u3002 <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u57fa\u672c\u67e5\u8a62\u6307\u4ee4<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 Raspberry Pi OS \u7684\u7d42\u7aef\u6a5f\uff08Terminal\uff09\u6216\u900f\u904e SSH \u9023\u7dda\u5f8c\uff0c\u76f4\u63a5\u8f38\u5165\u4ee5\u4e0b\u6307\u4ee4\u5373\u53ef\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vcgencmd measure_temp\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8acb\u8b39\u614e\u4f7f\u7528\u7a0b\u5f0f\u78bc\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u8f38\u51fa\u7bc4\u4f8b<\/strong>\u3002\u7d42\u7aef\u6a5f\u6703\u986f\u793a\u985e\u4f3c <code>temp=48.5'C<\/code> \u7684\u7d50\u679c\u3002<\/li>\n\n\n\n<li><strong>\u5b8c\u6574\u8def\u5f91\u57f7\u884c<\/strong>\u3002\u5982\u679c\u7cfb\u7d71\u63d0\u793a\u627e\u4e0d\u5230\u6307\u4ee4\uff08\u5e38\u898b\u65bc\u975e\u9810\u8a2d\u74b0\u5883\u8b8a\u6578\u8a2d\u5b9a\uff09\uff0c\u53ef\u4f7f\u7528\u5b8c\u6574\u8def\u5f91 <code>\/usr\/bin\/vcgencmd measure_temp<\/code> \u6216 <code>\/opt\/vc\/bin\/vcgencmd measure_temp<\/code> \u57f7\u884c\u3002 <\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u9032\u968e\u5be6\u7528\u6280\u5de7<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9664\u4e86\u55ae\u6b21\u67e5\u8a62\u5916\uff0c\u4f60\u4e5f\u53ef\u4ee5\u642d\u914d\u5176\u4ed6 Linux \u6307\u4ee4\u9032\u884c\u6301\u7e8c\u76e3\u63a7\u6216\u914d\u5408\u5176\u4ed6\u786c\u9ad4\u53c3\u6578\u4e00\u8d77\u6aa2\u67e5\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5373\u6642\u9023\u7e8c\u76e3\u63a7<\/strong>\u3002\u642d\u914d <code>watch<\/code> \u6307\u4ee4\uff0c\u53ef\u4ee5\u8b93\u7cfb\u7d71\u6bcf\u9694 1 \u79d2\u81ea\u52d5\u5237\u65b0\u4e00\u6b21\u6eab\u5ea6\u6578\u64da\uff1abash<code>watch -n 1 vcgencmd measure_temp<\/code> \u8acb\u8b39\u614e\u4f7f\u7528\u7a0b\u5f0f\u78bc\u3002<\/li>\n\n\n\n<li><strong>\u6aa2\u67e5\u662f\u5426\u904e\u71b1\u964d\u983b<\/strong>\u3002\u82e5\u767c\u73fe\u6eab\u5ea6\u504f\u9ad8\uff0c\u53ef\u57f7\u884c <code>vcgencmd get_throttled<\/code> \u6aa2\u67e5\u7cfb\u7d71\u662f\u5426\u66fe\u56e0\u9ad8\u6eab\u6216\u4f9b\u96fb\u4e0d\u8db3\u800c\u89f8\u767c\u964d\u983b\u4fdd\u8b77\uff08\u56de\u50b3 <code>throttled=0x0<\/code> \u4ee3\u8868\u4e00\u5207\u6b63\u5e38\uff09\u3002<\/li>\n\n\n\n<li><strong>\u67e5\u770b\u5176\u4ed6\u786c\u9ad4\u72c0\u614b<\/strong>\u3002\u6839\u64da <a href=\"https:\/\/blog.gtwang.org\/iot\/raspberry-pi-vcgencmd-hardware-information\/\" target=\"_blank\" rel=\"noopener\">G. T. Wang \u6280\u8853\u90e8\u843d\u683c<\/a> \u7684\u6574\u7406\uff0c\u4f60\u4e5f\u80fd\u7528 <code>vcgencmd measure_clock arm<\/code> \u67e5\u770b\u76ee\u524d CPU \u6642\u8108\uff0c\u6216\u7528 <code>vcgencmd measure_volts core<\/code> \u6aa2\u67e5\u6838\u5fc3\u96fb\u58d3\u3002 <\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u6eab\u5ea6\u53c3\u8003\u6a19\u6e96<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f9d\u64da <a href=\"https:\/\/picockpit.com\/raspberry-pi\/zh\/%E5%A6%82%E4%BD%95%E6%A3%80%E6%9F%A5%E6%A0%91%E8%8E%93%E6%B4%BE%E4%B8%8A%E7%9A%84cpu-temp\/\" target=\"_blank\" rel=\"noopener\">PiCockpit \u786c\u9ad4\u6307\u5357<\/a> \u7684\u8aaa\u660e\uff0c\u4e0d\u540c\u6eab\u5ea6\u5340\u9593\u4ee3\u8868\u4e0d\u540c\u7684\u786c\u9ad4\u72c0\u614b\uff1a <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>60\u00b0C \u4ee5\u4e0b<\/strong>\u3002\u5c6c\u65bc\u6b63\u5e38\u4e14\u7406\u60f3\u7684\u5de5\u4f5c\u6eab\u5ea6\u7bc4\u570d\uff0c\u7cfb\u7d71\u80fd\u7dad\u6301\u6700\u4f73\u6548\u80fd\u904b\u4f5c\u3002<\/li>\n\n\n\n<li><strong>60\u00b0C \u81f3 80\u00b0C<\/strong>\u3002\u5c6c\u65bc\u4e2d\u9ad8\u8ca0\u8f09\u6eab\u5ea6\uff0c\u82e5\u9577\u6642\u9593\u8655\u65bc\u6b64\u5340\u9593\u5efa\u8b70\u52a0\u5f37\u6563\u71b1\u63aa\u65bd\u3002<\/li>\n\n\n\n<li><strong>80\u00b0C \u4ee5\u4e0a<\/strong>\u3002\u89f8\u767c\u7cfb\u7d71\u904e\u71b1\u4fdd\u8b77\u6a5f\u5236\uff0cCPU \u6703\u81ea\u52d5\u964d\u983b\u4ee5\u964d\u4f4e\u767c\u71b1\u91cf\uff0c\u5c0e\u81f4\u6548\u80fd\u660e\u986f\u4e0b\u964d\u3002 <\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8981\u5728 Raspberry Pi \u4e0a\u67e5\u770b CPU\uff08SoC\uff09\u7684\u5373\u6642\u6eab\u5ea6\uff0c\u6700\u76f4\u63a5\u7684\u6307\u4ee4\u662f vcgencmd measure_temp\u3002\u57f7\u884c\u5f8c\u7d42\u7aef\u6a5f\u6703\u76f4\u63a5\u56de\u50b3\u76ee\u524d\u7684\u651d\u6c0f\u6eab\u5ea6\u6578\u503c\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,9,3],"tags":[12,13],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-linux","category-networking","category-computer-knowledge","tag-linux","tag-networking"],"_links":{"self":[{"href":"https:\/\/www.scotthk.com\/index.php?rest_route=\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scotthk.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scotthk.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scotthk.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scotthk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=40"}],"version-history":[{"count":1,"href":"https:\/\/www.scotthk.com\/index.php?rest_route=\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":41,"href":"https:\/\/www.scotthk.com\/index.php?rest_route=\/wp\/v2\/posts\/40\/revisions\/41"}],"wp:attachment":[{"href":"https:\/\/www.scotthk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scotthk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scotthk.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}