<?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>Dan&#039;s Randomness &#187; Off Topic</title>
	<atom:link href="http://www.dansrandomness.com/category/off-topic/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dansrandomness.com</link>
	<description>A little bit of everything...</description>
	<lastBuildDate>Fri, 23 Jul 2010 00:43:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>CPU Stress Test Scripts</title>
		<link>http://www.dansrandomness.com/2010/07/22/cpu-stress-test-scripts/</link>
		<comments>http://www.dansrandomness.com/2010/07/22/cpu-stress-test-scripts/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 00:18:26 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[IT Stuff]]></category>
		<category><![CDATA[Off Topic]]></category>
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://www.dansrandomness.com/?p=209</guid>
		<description><![CDATA[As I sit here stress-testing one of my Linux boxes I figured I would share with you guys the two scripts I have written to accomplish this. These two scripts simply peg one CPU/core. You will have to execute 1 instance of the script for each CPU/core on your machine to truly put it through [...]]]></description>
			<content:encoded><![CDATA[<p>As I sit here stress-testing one of my Linux boxes I figured I would share with you guys the two scripts I have written to accomplish this.  These two scripts simply peg one CPU/core.  You will have to execute 1 instance of the script for each CPU/core on your machine to truly put it through it&#8217;s paces.</p>
<p>WARNING: THESE SCRIPTS CAN AND WILL PUSH YOUR MACHINE TO ITS LIMITS!  IF YOU HAVE EVEN A SLIGHT ISSUE WITH THE COOLING/HARDWARE IN YOU MACHINE IT&#8217;S STRONGLY ADVISED THAT YOU DO NOT RUN THESE!  THESE SCRIPTS CAN DAMAGE HARDWARE IF USED INCORRECTLY!!!!</p>
<p>Alright, now that we have that out of the way, here ya go:</p>
<p>Windows VBScript:<br />
1) Copy and paste this into notepad:<br />
i=0<br />
while 1&lt;2<br />
i = i + 1<br />
wend<br />
2) Save as &#8216;max_cpu.vbs&#8217; in a location that&#8217;s convenient for you.<br />
3) OPEN TASK MANAGER NOW (If you don&#8217;t do it now you will never get it open)!!!!!<br />
4) Run the script (by double clicking) for each CPU/core you have on your machine.  In task manager you should see a wscript.exe for each time you double click it.<br />
5) When you have completed the testing kill all the wscript.exe processes you see in task manager.</p>
<p>Linux bash script:<br />
1) Copy and paste this into gedit:<br />
#!/bin/bash<br />
let count=0<br />
while :<br />
do<br />
echo &#8220;Count is: $count&#8221;<br />
((count++))<br />
done<br />
2) Save as &#8216;max_cpu.sh&#8217; in a location that&#8217;s convenient for you.<br />
3) Make the script executable (&#8216;chmod a+x max_cpu.sh&#8217; usually works).<br />
4) Run the script, &#8216;./max_cpu.sh&#8217; will do it.  Repeat this for every CPU/core on your machine.  You will have to have a separate terminal for each one.<br />
5) When you have completed your testing do a &#8216;CTRL + C&#8217; in each of the terminal windows that you executed the script in to kill the process.</p>
<p>While not really required, it&#8217;s strongly advised that you reboot after these &#8216;tests&#8217; to make sure things get cleaned up.  These don&#8217;t make any change to the OS but sometimes (especially with Windows) it will not fully release the resources used after the process(es) is(are) terminated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dansrandomness.com/2010/07/22/cpu-stress-test-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome!!!</title>
		<link>http://www.dansrandomness.com/2007/11/28/welcome/</link>
		<comments>http://www.dansrandomness.com/2007/11/28/welcome/#comments</comments>
		<pubDate>Wed, 28 Nov 2007 23:27:00 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Off Topic]]></category>

		<guid isPermaLink="false">http://new.dansrantcorner.com/?p=21</guid>
		<description><![CDATA[First off I would like to extend a huge welcome to everyone here!! I&#8217;m glad you found the place! Second, being that this is a VERY new site, I would appreciate any and all comments you have to offer. You can either use the contact form or email me directly. If you haven&#8217;t already guessed [...]]]></description>
			<content:encoded><![CDATA[<div>
<p><b>First off I would like to extend a huge welcome to everyone here!!  I&#8217;m glad you found the place!  Second, being that this is a VERY new site, I would appreciate any and all comments you have to offer.  You can either use the contact form or <a href="mailto:dan@dansrantcorner.com">email</a> me directly.</p>
<p>If you haven&#8217;t already guessed it, this will be a place for me to rant and rave about whatever my heart desires.  I often find myself frustrated with things and thought that the net would be a perfect place to vent those frustrations.  This being said, I will make no effort to &#8220;sugar coat&#8221; or otherwise &#8220;tone down&#8221; that which I say.  If you don&#8217;t like it, and/or find it offensive, there&#8217;s nothing holding you here.</p>
<p>I hope everyone enjoys reading the posts as much as I enjoy writing them!!!</p>
<p>&#8211;<br />
Dan</b></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dansrandomness.com/2007/11/28/welcome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
