<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jonathan Arbib &#187; alix temperature</title>
	<atom:link href="http://arbib.it/tag/alix-temperature/feed/" rel="self" type="application/rss+xml" />
	<link>http://arbib.it</link>
	<description>Mzee mulimu; A bit of my work, life, and experiences.</description>
	<lastBuildDate>Wed, 09 May 2012 11:51:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Alix 3d3 scripts</title>
		<link>http://arbib.it/2010/05/18/alix-3d3-scripts/</link>
		<comments>http://arbib.it/2010/05/18/alix-3d3-scripts/#comments</comments>
		<pubDate>Tue, 18 May 2010 19:26:31 +0000</pubDate>
		<dc:creator>ac3bf1</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[alic 3d3]]></category>
		<category><![CDATA[alix]]></category>
		<category><![CDATA[alix temperature]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://arbib.it/?p=653</guid>
		<description><![CDATA[Simple stats script: #!/bin/bash clear while [ 1 ] do uptime df -h &#124; grep Filesystem df -h &#124; grep rootfs df -h &#124; grep usb echo "" Temp1=$(cat /sys/bus/i2c/drivers/lm90/0-004c/temp1_input) Temp2=$(cat /sys/bus/i2c/drivers/lm90/0-004c/temp2_input) echo "MB T  = "$Temp1 echo "CPU T = "$Temp2 sleep 1 clear done Insert it in a file. I called it stats.sh [...]]]></description>
			<content:encoded><![CDATA[<p>Simple stats script:</p>
<pre>#!/bin/bash
clear
while [ 1 ]
do
 uptime
 df -h | grep Filesystem
 df -h | grep rootfs
 df -h | grep usb
 echo ""
 Temp1=$(cat /sys/bus/i2c/drivers/lm90/0-004c/temp1_input)
 Temp2=$(cat /sys/bus/i2c/drivers/lm90/0-004c/temp2_input)
 echo "MB T  = "$Temp1
 echo "CPU T = "$Temp2
 sleep 1
 clear
done</pre>
<p>Insert it in a file. I called it stats.sh</p>
<p>chmod a+x stats.sh</p>
<p>and run with ./stats.sh</p>
<p>It updates every second and returns:</p>
<ul>
<li>uptime with load</li>
<li>Disk space and usb disk space</li>
<li>MB temp</li>
<li>CPU temp</li>
</ul>
<p>You can add all you want in there or remove what you don&#8217;t need :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://arbib.it/2010/05/18/alix-3d3-scripts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

