<?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: Need Scripts to stress CPU and Memory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/need-scripts-to-stress-cpu-and-memory/m-p/3269934#M178441</link>
    <description>Okay here's a 3 minute C program, mem.c. It's written in K&amp;amp;R C so the bundled C compiler will handle it.&lt;BR /&gt;&lt;BR /&gt;Compile like this:&lt;BR /&gt;&lt;BR /&gt;cc mem.c -o mem&lt;BR /&gt;&lt;BR /&gt;Use it like this:&lt;BR /&gt;&lt;BR /&gt;mem 1000 &lt;BR /&gt;to allocate 1000 1MB chunks&lt;BR /&gt;&lt;BR /&gt;or simply mem&lt;BR /&gt;to continue allocating until it fails.&lt;BR /&gt;echo ${?} after failure to get errno; it should be ENOMEM 12. It display total memory allocated as it runs.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 06 May 2004 13:51:47 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2004-05-06T13:51:47Z</dc:date>
    <item>
      <title>Need Scripts to stress CPU and Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-scripts-to-stress-cpu-and-memory/m-p/3269931#M178438</link>
      <description>Anyone have a quick set of scripts to max out CPU and Memory Use? &lt;BR /&gt;&lt;BR /&gt;Just want to test some alarm definitions I am creating...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 May 2004 13:03:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-scripts-to-stress-cpu-and-memory/m-p/3269931#M178438</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-05-06T13:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need Scripts to stress CPU and Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-scripts-to-stress-cpu-and-memory/m-p/3269932#M178439</link>
      <description>An easy way to max out CPU ---&lt;BR /&gt;&lt;BR /&gt;# while true&lt;BR /&gt;&amp;gt; do&lt;BR /&gt;&amp;gt; let i=i+1&lt;BR /&gt;&amp;gt; done&lt;BR /&gt;&lt;BR /&gt;If you want to see what the script is doing put an echo in there.&lt;BR /&gt;&lt;BR /&gt;# while true&lt;BR /&gt;&amp;gt; do&lt;BR /&gt;&amp;gt; let i=i+1&lt;BR /&gt;&amp;gt; echo $i&lt;BR /&gt;&amp;gt; done&lt;BR /&gt;&lt;BR /&gt;If you have multiple CPUs on the system, run the script multiple times to max out all the CPUs.</description>
      <pubDate>Thu, 06 May 2004 13:23:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-scripts-to-stress-cpu-and-memory/m-p/3269932#M178439</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-05-06T13:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need Scripts to stress CPU and Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-scripts-to-stress-cpu-and-memory/m-p/3269933#M178440</link>
      <description>Thanks Patrick.. I actually have these loopers.. any quick Perl/C code that I can use to do malloc's. mmaps etc..?</description>
      <pubDate>Thu, 06 May 2004 13:27:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-scripts-to-stress-cpu-and-memory/m-p/3269933#M178440</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-05-06T13:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need Scripts to stress CPU and Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-scripts-to-stress-cpu-and-memory/m-p/3269934#M178441</link>
      <description>Okay here's a 3 minute C program, mem.c. It's written in K&amp;amp;R C so the bundled C compiler will handle it.&lt;BR /&gt;&lt;BR /&gt;Compile like this:&lt;BR /&gt;&lt;BR /&gt;cc mem.c -o mem&lt;BR /&gt;&lt;BR /&gt;Use it like this:&lt;BR /&gt;&lt;BR /&gt;mem 1000 &lt;BR /&gt;to allocate 1000 1MB chunks&lt;BR /&gt;&lt;BR /&gt;or simply mem&lt;BR /&gt;to continue allocating until it fails.&lt;BR /&gt;echo ${?} after failure to get errno; it should be ENOMEM 12. It display total memory allocated as it runs.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 May 2004 13:51:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-scripts-to-stress-cpu-and-memory/m-p/3269934#M178441</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-05-06T13:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need Scripts to stress CPU and Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-scripts-to-stress-cpu-and-memory/m-p/3269935#M178442</link>
      <description>Man.. what will I do without you guys!&lt;BR /&gt;&lt;BR /&gt;I know all these from a previous incarnation but my memory cells are starting to die down -- all of 37 years and my memory is already failing!  Hopefully we'll all still be alive when the "Brain-Add-On flash memory" will be avilable.. Imagine a 1 Petabyte Brain Module .. he he he!&lt;BR /&gt;&lt;BR /&gt;Thanks A-Clay for the code (just did no have time to review my K&amp;amp;R/C).. Patrick.. thanks for the looper /recursion tricks...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 May 2004 13:57:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-scripts-to-stress-cpu-and-memory/m-p/3269935#M178442</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-05-06T13:57:08Z</dc:date>
    </item>
  </channel>
</rss>

