<?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: Trace memory occupation rate, not utilization rate in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/trace-memory-occupation-rate-not-utilization-rate/m-p/3141703#M155488</link>
    <description>How about take a look at the total memory claimed by the system:&lt;BR /&gt;#!/bin/ksh &lt;BR /&gt;t=0 &lt;BR /&gt;&lt;BR /&gt;for i in `UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | grep -v Kbytes | awk '{print $1}'` &lt;BR /&gt;do&lt;BR /&gt;t=`expr $t + $i`&lt;BR /&gt;done&lt;BR /&gt;echo "\n In total Memory claimed by the system is $t Kbytes.\n"&lt;BR /&gt;</description>
    <pubDate>Wed, 10 Dec 2003 21:42:29 GMT</pubDate>
    <dc:creator>twang</dc:creator>
    <dc:date>2003-12-10T21:42:29Z</dc:date>
    <item>
      <title>Trace memory occupation rate, not utilization rate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trace-memory-occupation-rate-not-utilization-rate/m-p/3141702#M155487</link>
      <description>Hi all,&lt;BR /&gt;I'd like to trace the rate of system's memory occupation (not memory utilization estimated by glance or top utility) for a certain period, to get a sense that we need to buy additional physical memory or expand swap spaces.&lt;BR /&gt;&lt;BR /&gt;How can I get the rate information, that is, ( currently occupied(actually used) memory size / total available memory size).&lt;BR /&gt;&lt;BR /&gt;I think memory utilization of glance or top is a bit different from what I want to trace.&lt;BR /&gt;&lt;BR /&gt;My machine : HP L2000, HP-UX 11.0, 4GB RAM&lt;BR /&gt;&lt;BR /&gt;Any comment will be highly appreciated.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;KD&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Dec 2003 19:50:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trace-memory-occupation-rate-not-utilization-rate/m-p/3141702#M155487</guid>
      <dc:creator>KD AHN</dc:creator>
      <dc:date>2003-12-10T19:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Trace memory occupation rate, not utilization rate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trace-memory-occupation-rate-not-utilization-rate/m-p/3141703#M155488</link>
      <description>How about take a look at the total memory claimed by the system:&lt;BR /&gt;#!/bin/ksh &lt;BR /&gt;t=0 &lt;BR /&gt;&lt;BR /&gt;for i in `UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | grep -v Kbytes | awk '{print $1}'` &lt;BR /&gt;do&lt;BR /&gt;t=`expr $t + $i`&lt;BR /&gt;done&lt;BR /&gt;echo "\n In total Memory claimed by the system is $t Kbytes.\n"&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Dec 2003 21:42:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trace-memory-occupation-rate-not-utilization-rate/m-p/3141703#M155488</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-12-10T21:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Trace memory occupation rate, not utilization rate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trace-memory-occupation-rate-not-utilization-rate/m-p/3141704#M155489</link>
      <description>You can simplify your task: just look at vmstat and the po (page out) column. If it is zero to about 10-20, you have plenty of memory. If po=50+ then more memory is a good idea. If it is 150+ for long periods, you desparately need to double the amount of AM you have.&lt;BR /&gt; &lt;BR /&gt;Memory usasge is very complex. The kernel; uses some memory (perhaps 1-2 dozen megs), the buffer cache may use up to 50% of your RAM (wrong setting in the kernel), processes occupy memory, and most complicated, shared memory in the form of shared memory segments, memory mapped files, shared libraries and shared executables. It is very difficult to add all of this since it changes every few seconds.&lt;BR /&gt; &lt;BR /&gt;However, once the system starts heavy paging (swapping), RAM is too small. If you are running Oracle or Sybase, there are numerous considerations about the configuration of these tools. Oracle can be configured to use several thousand megs of RAM (way more than 4Gb) so a lot depends on how the DBA uses memory and what performance levels are desired.</description>
      <pubDate>Wed, 10 Dec 2003 21:57:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trace-memory-occupation-rate-not-utilization-rate/m-p/3141704#M155489</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-12-10T21:57:38Z</dc:date>
    </item>
  </channel>
</rss>

