<?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: which command to show memory staus in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107898#M731160</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I use:&lt;BR /&gt;'swapinfo -tam' &lt;BR /&gt;'ps -el'&lt;BR /&gt;'vmstat -n'&lt;BR /&gt;&lt;BR /&gt;Check the man-pages for details.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
    <pubDate>Tue, 27 Nov 2007 04:45:03 GMT</pubDate>
    <dc:creator>V. Nyga</dc:creator>
    <dc:date>2007-11-27T04:45:03Z</dc:date>
    <item>
      <title>which command to show memory staus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107897#M731159</link>
      <description>Hi&lt;BR /&gt;which command I can run to show the physical memory and used memory realtime on hpux 11i&lt;BR /&gt;&lt;BR /&gt;sar or top or other else ,no answer from these command&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Nov 2007 04:30:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107897#M731159</guid>
      <dc:creator>張朝家</dc:creator>
      <dc:date>2007-11-27T04:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: which command to show memory staus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107898#M731160</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I use:&lt;BR /&gt;'swapinfo -tam' &lt;BR /&gt;'ps -el'&lt;BR /&gt;'vmstat -n'&lt;BR /&gt;&lt;BR /&gt;Check the man-pages for details.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Nov 2007 04:45:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107898#M731160</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-11-27T04:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: which command to show memory staus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107899#M731161</link>
      <description>what a nice name you  have picked up!!&lt;BR /&gt;&lt;BR /&gt;you can use glance -m, if you have glance...&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Anshu</description>
      <pubDate>Tue, 27 Nov 2007 04:45:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107899#M731161</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2007-11-27T04:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: which command to show memory staus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107900#M731162</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;for the physical memory it depends on the os you have. With a search here in itrc you'll find several commands.&lt;BR /&gt;Here's my script for HP-UX 11.11, see attachment.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Nov 2007 04:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107900#M731162</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-11-27T04:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: which command to show memory staus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107901#M731163</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can make use of sar for this purpose.&lt;BR /&gt;&lt;BR /&gt;sar 2 5 (will give you the percentage of memory used of 5 slices once in 2 seconds).&lt;BR /&gt;&lt;BR /&gt;When customers cry for performance problem. I immediately check this sar output and based on % mem free output, I check the average % mem used as 100 - (%mem free).&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Srikanth</description>
      <pubDate>Tue, 27 Nov 2007 05:12:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107901#M731163</guid>
      <dc:creator>Srikanth Arunachalam</dc:creator>
      <dc:date>2007-11-27T05:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: which command to show memory staus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107902#M731164</link>
      <description>Why no answer from top.&lt;BR /&gt;I suppose top is a nice tool.&lt;BR /&gt;Well you may use&lt;BR /&gt;#swapinfo -amt&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Kapil</description>
      <pubDate>Tue, 27 Nov 2007 05:35:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107902#M731164</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2007-11-27T05:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: which command to show memory staus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107903#M731165</link>
      <description>top isn't the best tool for system analysis, as it reports memory from only the User Process point of view (Active Virtual and Active Real is only for User memory, System usage is not shown at all). In this case, you can get free memory from top, however... since that's the same either way.&lt;BR /&gt;&lt;BR /&gt;A bit easier to just write a basic C or perl program that uses pstat. pstat_getvminfo() returns a pst_vminfo structure, which contains psv.cfree as a field -- that's Free physical pages. pstat_getstatic() returns a pst_static which has physical_memory as the total pages.&lt;BR /&gt;I'd highly recommend using a programmatic interface for forward compatibility -- since on 11.31 and later, physical_memory is no longer constant at run time, after all.&lt;BR /&gt;&lt;BR /&gt;swapinfo is about the worst thing I can think of to try to pull this information since the Memory line in that output is pseudo-swap, not physical memory. They aren't the same, and the counts will be completely different.&lt;BR /&gt;&lt;BR /&gt;And one final mention -- used memory via any of these interfaces (save Glance if you read it carefully, I would think) can be misleading. Just because memory is in use doesn't mean the system can't free it up quickly (the file cache is what's coming to mind here -- if you're using dynamic buffer cache or dynamic file cache, it is supposed to hold onto pages for better caching until there's some actual memory pressure [or close to it]. Free memory running down to the pressure point isn't unexpected or bad in those cases -- and it doesn't mean a new User application can't get pages).</description>
      <pubDate>Tue, 27 Nov 2007 10:58:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107903#M731165</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2007-11-27T10:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: which command to show memory staus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107904#M731166</link>
      <description>And here's a little program I use called memdetail. It is a c program - compiles with the built in HP-UX compiler.&lt;BR /&gt;&lt;BR /&gt;cc memdetail1.c&lt;BR /&gt;&lt;BR /&gt;mv a.out /usr/local/bin/memdetail&lt;BR /&gt;&lt;BR /&gt;Output like:&lt;BR /&gt;&lt;BR /&gt;# memdetail&lt;BR /&gt;Memory Stat      total    used   avail   %used&lt;BR /&gt;physical        40958.0 28445.2 12512.8    69%&lt;BR /&gt;active virtual  30213.0 8304.0  21909.1    27%&lt;BR /&gt;active real     19827.2 6694.1  13133.0    34%&lt;BR /&gt;memory swap     40958.0 15385.0 25573.0    38%&lt;BR /&gt;device swap     83964.0 31218.8 52745.2    37%&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 27 Nov 2007 11:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107904#M731166</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-11-27T11:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: which command to show memory staus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107905#M731167</link>
      <description>Hi æ  å®¶,&lt;BR /&gt;&lt;BR /&gt;Simple way&lt;BR /&gt;&lt;BR /&gt;SAM -&amp;gt; Performance Monitors -&amp;gt; system Properties -&amp;gt; Memory&lt;BR /&gt;&lt;BR /&gt;(You can toggle to refresh the status)&lt;BR /&gt;&lt;BR /&gt;WK&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Nov 2007 01:19:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-command-to-show-memory-staus/m-p/4107905#M731167</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-11-28T01:19:37Z</dc:date>
    </item>
  </channel>
</rss>

