<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: small script in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/small-script/m-p/3731426#M101027</link>
    <description>Thanks for the info, but I already know about STM for exercising the cpu etc. I was looking for a generic script that I can use on multiple OS's.</description>
    <pubDate>Tue, 14 Feb 2006 16:40:20 GMT</pubDate>
    <dc:creator>John Dvorchak</dc:creator>
    <dc:date>2006-02-14T16:40:20Z</dc:date>
    <item>
      <title>small script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/small-script/m-p/3731423#M101024</link>
      <description>I have looked all over but I can't seem to find a script that would spike a CPU and/or disk I/O for a class I am trying to teach. I am trying to get some new to UNIX folks used to looking for runaway processes and to demonstrate the effects of tuning the file systems.&lt;BR /&gt;&lt;BR /&gt;No big deal and please don't spend much time on this. Prefer ksh or real easy C compile or if there is a perl. I just have to run it on HPUX 11.x and Sun 8, 9 or 10.</description>
      <pubDate>Tue, 14 Feb 2006 16:21:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/small-script/m-p/3731423#M101024</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2006-02-14T16:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: small script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/small-script/m-p/3731424#M101025</link>
      <description>well you can use stm or xstm to exersize your disks, memory, and CPU's in HPUX&lt;BR /&gt;not sure about Sun</description>
      <pubDate>Tue, 14 Feb 2006 16:25:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/small-script/m-p/3731424#M101025</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2006-02-14T16:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: small script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/small-script/m-p/3731425#M101026</link>
      <description>Hi John:&lt;BR /&gt;&lt;BR /&gt;For running a CPU at 100% for 120-seconds:&lt;BR /&gt;&lt;BR /&gt;# perl -e 'alarm 120;while (1) {}'&lt;BR /&gt;&lt;BR /&gt;...this will automatically stop after 120-seconds.  Adjust to your taste.&lt;BR /&gt;&lt;BR /&gt;For doing I/O, chose a disk device and do:&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=64k&lt;BR /&gt;&lt;BR /&gt;...kill with ^C when you are satisfied.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 14 Feb 2006 16:40:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/small-script/m-p/3731425#M101026</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-02-14T16:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: small script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/small-script/m-p/3731426#M101027</link>
      <description>Thanks for the info, but I already know about STM for exercising the cpu etc. I was looking for a generic script that I can use on multiple OS's.</description>
      <pubDate>Tue, 14 Feb 2006 16:40:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/small-script/m-p/3731426#M101027</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2006-02-14T16:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: small script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/small-script/m-p/3731427#M101028</link>
      <description>The yes command is very cpu intensive and it's available on all UNIX versions.&lt;BR /&gt;&lt;BR /&gt;The dd command is a good one to generate I/O.&lt;BR /&gt;&lt;BR /&gt;Starting backup operations are also good cpu/memory/disk excersicers.&lt;BR /&gt;&lt;BR /&gt;Check this link also:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.acnc.com/benchmarks.html" target="_blank"&gt;http://www.acnc.com/benchmarks.html&lt;/A&gt;</description>
      <pubDate>Tue, 14 Feb 2006 17:03:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/small-script/m-p/3731427#M101028</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-02-14T17:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: small script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/small-script/m-p/3731428#M101029</link>
      <description>All of these are good, but so far the yes command shows the highest on both HPUX and Solaris 10.</description>
      <pubDate>Tue, 14 Feb 2006 17:24:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/small-script/m-p/3731428#M101029</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2006-02-14T17:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: small script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/small-script/m-p/3731429#M101030</link>
      <description>Works on any POSIX shell to create 100% CPU (also the shortest script I could find):&lt;BR /&gt; &lt;BR /&gt;while :&lt;BR /&gt;do&lt;BR /&gt;:&lt;BR /&gt;done&lt;BR /&gt; &lt;BR /&gt;Run this in the background once for each CPU to saturate everything, then run additional copies to show timeshare context switches.</description>
      <pubDate>Tue, 14 Feb 2006 17:49:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/small-script/m-p/3731429#M101030</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-02-14T17:49:14Z</dc:date>
    </item>
  </channel>
</rss>

