<?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: How to check memory utilization in script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084312#M143333</link>
    <description>Hi!&lt;BR /&gt;I'm attaching you a program.&lt;BR /&gt;Regards.</description>
    <pubDate>Fri, 03 Oct 2003 03:46:23 GMT</pubDate>
    <dc:creator>Stanimir</dc:creator>
    <dc:date>2003-10-03T03:46:23Z</dc:date>
    <item>
      <title>How to check memory utilization in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084303#M143324</link>
      <description>I'm trying to setup paging when server memory utilization reaches 90%. The only 2 ways of getting memory utilization I know is by using glance of top. Is there a way to get similar info through the command line?</description>
      <pubDate>Thu, 02 Oct 2003 13:10:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084303#M143324</guid>
      <dc:creator>Alexander Bakhmutsky</dc:creator>
      <dc:date>2003-10-02T13:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to check memory utilization in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084304#M143325</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  echo "freemem/D" | adb -k /stand/vmunix /dev/kmem&lt;BR /&gt; &lt;BR /&gt;  Will give u the free memory in pages.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Sundar.</description>
      <pubDate>Thu, 02 Oct 2003 13:12:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084304#M143325</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2003-10-02T13:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to check memory utilization in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084305#M143326</link>
      <description>How can I get the page size?</description>
      <pubDate>Thu, 02 Oct 2003 13:13:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084305#M143326</guid>
      <dc:creator>Alexander Bakhmutsky</dc:creator>
      <dc:date>2003-10-02T13:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to check memory utilization in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084306#M143327</link>
      <description>&lt;BR /&gt;  Page size is by default 4 KB. &lt;BR /&gt;&lt;BR /&gt;  # dmesg | grep "physical page size"&lt;BR /&gt;  # grep "physical page size" /var/adm/syslog/syslog.log</description>
      <pubDate>Thu, 02 Oct 2003 13:15:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084306#M143327</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2003-10-02T13:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to check memory utilization in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084307#M143328</link>
      <description>vmstat |grep -v r |awk ' { print $4, $5 } '&lt;BR /&gt;&lt;BR /&gt;will give you the "avm" and "free" figures.  You would then need to compare the two to see if you're getting close.&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Pete&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Thu, 02 Oct 2003 13:18:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084307#M143328</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-10-02T13:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to check memory utilization in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084308#M143329</link>
      <description>Or you could use this:&lt;BR /&gt; &lt;BR /&gt;vmstat |grep -v r |awk ' { print $9 } '&lt;BR /&gt; &lt;BR /&gt;which would print the page outs.  If that's greater than 0, you've got issues!&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Pete&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Thu, 02 Oct 2003 13:24:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084308#M143329</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-10-02T13:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to check memory utilization in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084309#M143330</link>
      <description>Thanks everybody.</description>
      <pubDate>Thu, 02 Oct 2003 13:25:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084309#M143330</guid>
      <dc:creator>Alexander Bakhmutsky</dc:creator>
      <dc:date>2003-10-02T13:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to check memory utilization in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084310#M143331</link>
      <description>You can run glance from the command line in advisor mode using the syntax&lt;BR /&gt;&lt;BR /&gt;`glance -adviser_only -syntax global_stats.syntax -j 5 -iterations 6 2&amp;gt;/dev/null`&lt;BR /&gt;&lt;BR /&gt;where a syntax file would look like&lt;BR /&gt;&lt;BR /&gt;PROCESS LOOP&lt;BR /&gt; {&lt;BR /&gt;print GBL_CPU_TOTAL_UTIL," ",GBL_CPU_USER_MODE_UTIL," ",GBL_CPU_SYS_MODE_UTIL&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;These metrics are for CPU, but you can choose other glance metrics as well. They would be found in &lt;BR /&gt;/opt/perf/paperdocs/mwa/C/metrics.pdf&lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Thu, 02 Oct 2003 13:28:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084310#M143331</guid>
      <dc:creator>Clay Jordan</dc:creator>
      <dc:date>2003-10-02T13:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to check memory utilization in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084311#M143332</link>
      <description>using "top -d1 -s1 -f /tmp/top", you can&lt;BR /&gt;save the output of the top command.</description>
      <pubDate>Fri, 03 Oct 2003 02:33:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084311#M143332</guid>
      <dc:creator>hein coulier</dc:creator>
      <dc:date>2003-10-03T02:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to check memory utilization in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084312#M143333</link>
      <description>Hi!&lt;BR /&gt;I'm attaching you a program.&lt;BR /&gt;Regards.</description>
      <pubDate>Fri, 03 Oct 2003 03:46:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-check-memory-utilization-in-script/m-p/3084312#M143333</guid>
      <dc:creator>Stanimir</dc:creator>
      <dc:date>2003-10-03T03:46:23Z</dc:date>
    </item>
  </channel>
</rss>

