<?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: memory utilization with SAR in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-with-sar/m-p/3605779#M233620</link>
    <description>Mark,&lt;BR /&gt;&lt;BR /&gt;I don't believe so.  I've never seen it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Wed, 17 Aug 2005 11:13:46 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2005-08-17T11:13:46Z</dc:date>
    <item>
      <title>memory utilization with SAR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-with-sar/m-p/3605778#M233619</link>
      <description>is there a way to get memory utilization out of sar files? i've looked but cant seem to find it.  I'm running HPUX11i.  thanks</description>
      <pubDate>Wed, 17 Aug 2005 11:07:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-with-sar/m-p/3605778#M233619</guid>
      <dc:creator>Mark Harshman_1</dc:creator>
      <dc:date>2005-08-17T11:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: memory utilization with SAR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-with-sar/m-p/3605779#M233620</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;I don't believe so.  I've never seen it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 17 Aug 2005 11:13:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-with-sar/m-p/3605779#M233620</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-08-17T11:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: memory utilization with SAR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-with-sar/m-p/3605780#M233621</link>
      <description>Nope...no memory stats in sar...&lt;BR /&gt;&lt;BR /&gt;Glance, Top, perfview/Measure Ware will do.&lt;BR /&gt;&lt;BR /&gt;I do this daily:&lt;BR /&gt;&lt;BR /&gt;/opt/perf/bin/extract -xp -r /home/gwild/zgbltemplate -g -b today 7:00 -e today 18:00 -f stdout | /bin/mailx -s 'Myserver performance report' gwild@mydomaiin.com&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# cat /home/gwild/zgbltemplate&lt;BR /&gt;REPORT "MWA Export on !SYSTEM_ID"&lt;BR /&gt;FORMAT ASCII&lt;BR /&gt;HEADINGS ON&lt;BR /&gt;SEPARATOR="|"&lt;BR /&gt;SUMMARY=60&lt;BR /&gt;MISSING=0&lt;BR /&gt;DATA TYPE GLOBAL&lt;BR /&gt;YEAR&lt;BR /&gt;DATE&lt;BR /&gt;TIME&lt;BR /&gt;GBL_CPU_TOTAL_UTIL&lt;BR /&gt;GBL_MEM_UTIL&lt;BR /&gt;GBL_SWAP_SPACE_UTIL&lt;BR /&gt;GBL_MEM_CACHE_HIT_PCT&lt;BR /&gt;GBL_DISK_UTIL_PEAK&lt;BR /&gt;GBL_FS_SPACE_UTIL_PEAK&lt;BR /&gt;GBL_MEM_PAGEOUT_RATE&lt;BR /&gt;GBL_MEM_SWAPOUT_RATE&lt;BR /&gt;GBL_MEM_QUEUE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I also use a compile program called memdetail&lt;BR /&gt;&lt;BR /&gt;# memdetail&lt;BR /&gt;Memory Stat      total    used   avail   %used&lt;BR /&gt;physical        10080.0 10039.4   40.6    100%&lt;BR /&gt;active virtual  13168.3 5106.1  8062.2     39%&lt;BR /&gt;active real     7732.3  2602.9  5129.4     34%&lt;BR /&gt;memory swap     7693.0  1650.4  6042.6     21%&lt;BR /&gt;device swap     26528.0 12504.2 14023.8    47%&lt;BR /&gt;&lt;BR /&gt;I attached the c code.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Aug 2005 11:17:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-with-sar/m-p/3605780#M233621</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-08-17T11:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: memory utilization with SAR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-with-sar/m-p/3605781#M233622</link>
      <description>Oh - you can use vmstat...&lt;BR /&gt;&lt;BR /&gt;And here's a script:&lt;BR /&gt;&lt;BR /&gt;# cat memused&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;typeset -i free used total percent&lt;BR /&gt;free=`vmstat 1 2 | tail -1 | awk '{print ($5*4)/1024}'`&lt;BR /&gt;total=`echo 'phys_mem_pages/D'|adb /stand/vmunix /dev/kmem|grep pages | tail -1 | awk '{print $2*4/1024}'`&lt;BR /&gt;((used=$total-$free))&lt;BR /&gt;((percent=$used *100 / $total ))&lt;BR /&gt;print "used memory: $percent%"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 17 Aug 2005 12:03:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-with-sar/m-p/3605781#M233622</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-08-17T12:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: memory utilization with SAR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-with-sar/m-p/3605782#M233623</link>
      <description>No. Sar can't be used at all for getting memory utilization.&lt;BR /&gt;&lt;BR /&gt;vmstat should be used instead. It show free physical memory in terms of pages. Multiply that number by the system page size (usually it is 4096 bytes )to get free memory. Then run dmesg, it shows the page size as well alongwith other physical memory details.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Aug 2005 12:26:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-with-sar/m-p/3605782#M233623</guid>
      <dc:creator>Sameer_Nirmal</dc:creator>
      <dc:date>2005-08-17T12:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: memory utilization with SAR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-with-sar/m-p/3605783#M233624</link>
      <description>thanks for all the good info.</description>
      <pubDate>Wed, 17 Aug 2005 12:34:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-with-sar/m-p/3605783#M233624</guid>
      <dc:creator>Mark Harshman_1</dc:creator>
      <dc:date>2005-08-17T12:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: memory utilization with SAR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-with-sar/m-p/3605784#M233625</link>
      <description>Hi,&lt;BR /&gt;Notify that if you used vmstat you must exclude the first line from its output because it is not valid presentation.&lt;BR /&gt;Regards,&lt;BR /&gt;Borislav</description>
      <pubDate>Thu, 18 Aug 2005 03:10:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-with-sar/m-p/3605784#M233625</guid>
      <dc:creator>Borislav Perkov</dc:creator>
      <dc:date>2005-08-18T03:10:03Z</dc:date>
    </item>
  </channel>
</rss>

