<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dw="https://www.dreamwidth.org">
  <id>tag:dreamwidth.org,2010-09-03:573632</id>
  <title>Morgan Nametbd</title>
  <subtitle>Morgan Nametbd</subtitle>
  <author>
    <name>Morgan Nametbd</name>
  </author>
  <link rel="alternate" type="text/html" href="https://stormerider.dreamwidth.org/"/>
  <link rel="self" type="text/xml" href="https://stormerider.dreamwidth.org/data/atom"/>
  <updated>2013-06-28T01:13:45Z</updated>
  <dw:journal username="stormerider" type="personal"/>
  <entry>
    <id>tag:dreamwidth.org,2010-09-03:573632:188646</id>
    <link rel="alternate" type="text/html" href="https://stormerider.dreamwidth.org/188646.html"/>
    <link rel="self" type="text/xml" href="https://stormerider.dreamwidth.org/data/atom/?itemid=188646"/>
    <title>[Coding] Using my version of htop-osx</title>
    <published>2013-06-28T00:58:17Z</published>
    <updated>2013-06-28T01:13:45Z</updated>
    <category term="coding"/>
    <category term="forks"/>
    <category term="mac"/>
    <category term="osx"/>
    <category term="htop"/>
    <dw:mood>accomplished</dw:mood>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">I've been futzing with htop-osx in my spare time to add support for CPU temperature monitoring and fan speed... these are things I like to know when I'm using a laptop, and I figured other folks here might as well. If you use homebrew, just do: &lt;b&gt;brew edit htop-osx&lt;/b&gt; and paste in the values from &lt;a href="https://gist.github.com/stormerider/5804653"&gt;https://gist.github.com/stormerider/5804653&lt;/a&gt; and then &lt;b&gt;brew install htop-osx&lt;/b&gt; (or if you already have it installed, &lt;b&gt;brew upgrade htop-osx&lt;/b&gt;).&lt;br /&gt;&lt;br /&gt;Otherwise, you can clone the fork from &lt;a href="https://github.com/stormerider/htop-osx.git"&gt;https://github.com/stormerider/htop-osx.git&lt;/a&gt; and build it manually. Once you've done so, run &lt;b&gt;htop&lt;/b&gt; and hit F2 to enter setup, navigate over to &lt;b&gt;Available Meters&lt;/b&gt;, and add them to whichever column you want (left or right). I normally make htop suid anyways to be able to get full process details, so I'm not sure if that's required to probe the SMC keys for temperature/fan speed, but it's possible.&lt;br /&gt;&lt;br /&gt;(Most folks will only have one fan; the newer MacBook Pros and the 27" iMacs only do, I believe the Airs as well. Older MBPs have two, like the loaner I used when getting my MBP repaired. Some Mac Pros-- the desktops pre-iMac integration-- have up to 4 fans. The code currently only displays 3 of them, the 4th being the PSU fan.)&lt;br /&gt;&lt;br /&gt;&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___1" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://stormerider.dreamwidth.org/188646.html#cutid1"&gt;Cut for screenshot&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___1" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Image also on FB, so let me know if there are issues with it as well.&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=stormerider&amp;ditemid=188646" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
</feed>
