<?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: script for non-stop looping in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124295#M315296</link>
    <description>I would think a good way to harness your cpu is to do some number crunching.&lt;BR /&gt;Most crypto applications or file packers are good candidates.&lt;BR /&gt;You could also try to solve some linear equation systems as I suppose the notorious lapack is doing.&lt;BR /&gt;&lt;A href="http://www.netlib.org/lapack/" target="_blank"&gt;http://www.netlib.org/lapack/&lt;/A&gt;&lt;BR /&gt;Or fluid flow solvers also seem well suited to stress the cpu&lt;BR /&gt;&lt;A href="http://en.wikipedia.org/wiki/Reynolds-averaged_Navier-Stokes_equations" target="_blank"&gt;http://en.wikipedia.org/wiki/Reynolds-averaged_Navier-Stokes_equations&lt;/A&gt;</description>
    <pubDate>Fri, 04 Jan 2008 13:10:17 GMT</pubDate>
    <dc:creator>Ralph Grothe</dc:creator>
    <dc:date>2008-01-04T13:10:17Z</dc:date>
    <item>
      <title>script for non-stop looping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124289#M315290</link>
      <description>I would like to test the CPU loading for a new server , I would like to have a script ( eg. for loop ) that non-stop to run a job eg. copy file , create file etc, this is for testing CPU loading , can advise a script ? thx</description>
      <pubDate>Fri, 04 Jan 2008 06:04:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124289#M315290</guid>
      <dc:creator>ust3</dc:creator>
      <dc:date>2008-01-04T06:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: script for non-stop looping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124290#M315291</link>
      <description>hi ;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt;:&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hasan</description>
      <pubDate>Fri, 04 Jan 2008 06:32:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124290#M315291</guid>
      <dc:creator>Hasan  Atasoy</dc:creator>
      <dc:date>2008-01-04T06:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: script for non-stop looping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124291#M315292</link>
      <description>You have a lot of different methods to achieve this, but I guess a copy job only will not effect the CPU load that much.&lt;BR /&gt;&lt;BR /&gt;If you run mstm, select the CPU(s) and run the exercise tool, this will put heavy load on the CPU.</description>
      <pubDate>Fri, 04 Jan 2008 07:13:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124291#M315292</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-01-04T07:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: script for non-stop looping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124292#M315293</link>
      <description>Here is a link for a similar question:&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1186172" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1186172&lt;/A&gt;</description>
      <pubDate>Fri, 04 Jan 2008 08:06:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124292#M315293</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-04T08:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: script for non-stop looping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124293#M315294</link>
      <description>I would think a good way to harness your cpu is to do some number crunching.&lt;BR /&gt;Most crypto applications or file packers are good candidates.&lt;BR /&gt;You could also try to solve some linear equation systmes as I suppose the notorious lapack is doing.&lt;BR /&gt;&lt;A href="http://www.netlib.org/lapack/" target="_blank"&gt;http://www.netlib.org/lapack/&lt;/A&gt;</description>
      <pubDate>Fri, 04 Jan 2008 13:01:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124293#M315294</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2008-01-04T13:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: script for non-stop looping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124294#M315295</link>
      <description>I would think a good way to harness your cpu is to do some number crunching.&lt;BR /&gt;Most crypto applications or file packers are good candidates.&lt;BR /&gt;You could also try to solve some linear equation systems as I suppose the notorious lapack is doing.&lt;BR /&gt;&lt;A href="http://www.netlib.org/lapack/" target="_blank"&gt;http://www.netlib.org/lapack/&lt;/A&gt;</description>
      <pubDate>Fri, 04 Jan 2008 13:05:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124294#M315295</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2008-01-04T13:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: script for non-stop looping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124295#M315296</link>
      <description>I would think a good way to harness your cpu is to do some number crunching.&lt;BR /&gt;Most crypto applications or file packers are good candidates.&lt;BR /&gt;You could also try to solve some linear equation systems as I suppose the notorious lapack is doing.&lt;BR /&gt;&lt;A href="http://www.netlib.org/lapack/" target="_blank"&gt;http://www.netlib.org/lapack/&lt;/A&gt;&lt;BR /&gt;Or fluid flow solvers also seem well suited to stress the cpu&lt;BR /&gt;&lt;A href="http://en.wikipedia.org/wiki/Reynolds-averaged_Navier-Stokes_equations" target="_blank"&gt;http://en.wikipedia.org/wiki/Reynolds-averaged_Navier-Stokes_equations&lt;/A&gt;</description>
      <pubDate>Fri, 04 Jan 2008 13:10:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124295#M315296</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2008-01-04T13:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: script for non-stop looping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124296#M315297</link>
      <description>Sorry, for the multi-post.&lt;BR /&gt;Webserver didn't respond.</description>
      <pubDate>Fri, 04 Jan 2008 13:31:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124296#M315297</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2008-01-04T13:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: script for non-stop looping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124297#M315298</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt;prealloc /someplacewith5gbfree/test.5GB 5368709120&lt;BR /&gt;gzip /someplacewith5gbfree/test.5GB &lt;BR /&gt;rm /someplacewith5gbfree/test.5GB.gz&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Something like that...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 04 Jan 2008 19:04:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124297#M315298</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2008-01-04T19:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: script for non-stop looping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124298#M315299</link>
      <description>As Hasan stated a loop of null will drive the CPU to the roof.  Not the most scientific way but I used it to test CPU allocations for wlm.&lt;BR /&gt;&lt;BR /&gt;The below allows you to start as many as you like to drive all CPUs.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;ii=0&lt;BR /&gt;COUNT=${1:-2}&lt;BR /&gt;if [[ -z $1 ]]&lt;BR /&gt;then&lt;BR /&gt;        echo "Number not supplied, using default of $COUNT"&lt;BR /&gt;else&lt;BR /&gt;        echo "Using supplied number of $1"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;while [[ $ii -lt $COUNT ]]&lt;BR /&gt;do&lt;BR /&gt;        while true&lt;BR /&gt;        do&lt;BR /&gt;                :&lt;BR /&gt;        done &amp;amp;&lt;BR /&gt;        (( ii = ii + 1 ))&lt;BR /&gt;done&lt;BR /&gt;jobs -l&lt;BR /&gt;echo "&lt;ENTER&gt; to terminate"&lt;BR /&gt;read pauz&lt;BR /&gt;ii=1&lt;BR /&gt;while [[ $ii -le $COUNT ]]&lt;BR /&gt;do&lt;BR /&gt;        echo "Killing % $ii "&lt;BR /&gt;        kill %$ii&lt;BR /&gt;        (( ii = ii + 1 ))&lt;BR /&gt;done&lt;BR /&gt;&lt;/ENTER&gt;</description>
      <pubDate>Fri, 04 Jan 2008 22:42:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-non-stop-looping/m-p/4124298#M315299</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-01-04T22:42:29Z</dc:date>
    </item>
  </channel>
</rss>

