<?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: Reporting free memory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/reporting-free-memory/m-p/3417237#M203473</link>
    <description>I get it from measureware:&lt;BR /&gt;&lt;BR /&gt;# cat 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;&lt;BR /&gt;&lt;BR /&gt;crontab -l&lt;BR /&gt;55 23 * * 1-5 /opt/perf/bin/extract -xp -r /home/gwild/zgbltemplate -g -b today 7:00 -e today 18:00 -f stdout | /bin/mailx -s 'svr1000 performance report' gwild@mydomain.com &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;Output like:&lt;BR /&gt;&lt;BR /&gt;MWA Export on svr1000&lt;BR /&gt;    |        |     |      |Memory|      |Cache | Peak | Pk FS  |&lt;BR /&gt;Year|  Date  |Time |CPU % |  %   |Swap %|Hit % |Disk %|  Sp %  |&lt;BR /&gt;2004|11/05/04|07:00| 46.14| 99.66| 48.00| 88.17| 45.97|   99.64|&lt;BR /&gt;2004|11/05/04|07:05| 12.71| 98.52| 48.00| 96.07|  5.79|   99.64|&lt;BR /&gt;2004|11/05/04|07:10| 11.02| 98.63| 48.00| 99.09|  5.65|   99.64|&lt;BR /&gt;2004|11/05/04|07:15| 13.83| 98.89| 48.00| 95.49| 11.78|   99.64|&lt;BR /&gt;2004|11/05/04|07:20| 29.16| 97.74| 48.00| 89.26| 25.27|   99.64|&lt;BR /&gt;2004|11/05/04|07:25|  9.52| 97.83| 48.00| 97.76|  5.07|   99.64|&lt;BR /&gt;2004|11/05/04|07:30| 12.87| 97.96| 48.00| 97.96|  6.68|   99.64|&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Mon, 08 Nov 2004 14:06:31 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2004-11-08T14:06:31Z</dc:date>
    <item>
      <title>Reporting free memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reporting-free-memory/m-p/3417232#M203468</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I need to report on memory usuage over a monthly period, say every 30mins.&lt;BR /&gt;&lt;BR /&gt;As Sar does not provide this can anyone recommend an easy way to do this?  Does someone have a script that maybe uses vmstat to get these statistics?  Ideally it needs to show used memory as a percentage.&lt;BR /&gt;&lt;BR /&gt;Any advice apreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 08 Nov 2004 09:19:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reporting-free-memory/m-p/3417232#M203468</guid>
      <dc:creator>Gavin Stewart</dc:creator>
      <dc:date>2004-11-08T09:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reporting free memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reporting-free-memory/m-p/3417233#M203469</link>
      <description>lots of ways.&lt;BR /&gt;&lt;BR /&gt;swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;The memory portion of the sar script set I'm attaching can also be quite useful.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 08 Nov 2004 09:26:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reporting-free-memory/m-p/3417233#M203469</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-08T09:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reporting free memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reporting-free-memory/m-p/3417234#M203470</link>
      <description>Hi Gavin,&lt;BR /&gt;&lt;BR /&gt;From vmstat, you get 'free pages'. Multiply it with '4' to get it in KB. You would already know memory size of the system. Or use the following script.&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;FREE=$(vmstat 2 1 |awk '{print $5}'|tail -1)&lt;BR /&gt;TOTMEM=$(echo "phys_mem_pages/D" |adb -k /stand/vmunix /dev/mem|tail -1|awk '{FS=":";print $2}')&lt;BR /&gt;(( PERCENT = $FREE * 100 / $TOTMEM ))&lt;BR /&gt;echo "Free memory is $PERCENT %"&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2004 09:29:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reporting-free-memory/m-p/3417234#M203470</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-08T09:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reporting free memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reporting-free-memory/m-p/3417235#M203471</link>
      <description>If your environment is HP-UX Enterprise (ie your running a SuperDome or any of the Cell-Partionables).. you already have Measureware  (now named HP OVPA). In its default config .. it's been gathering stats for you. TO get to the reports.. simply type "extract" -- and everything should be self explanatory.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Your other options.. glance -m, swapinfo and vmstat as others have already pointed out.&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2004 09:45:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reporting-free-memory/m-p/3417235#M203471</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-11-08T09:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reporting free memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reporting-free-memory/m-p/3417236#M203472</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Look at&lt;BR /&gt;&lt;BR /&gt;ftp://eh:spear9@hprc.external.hp.com/memory.htm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                Steve Steel</description>
      <pubDate>Mon, 08 Nov 2004 09:47:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reporting-free-memory/m-p/3417236#M203472</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-11-08T09:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reporting free memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reporting-free-memory/m-p/3417237#M203473</link>
      <description>I get it from measureware:&lt;BR /&gt;&lt;BR /&gt;# cat 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;&lt;BR /&gt;&lt;BR /&gt;crontab -l&lt;BR /&gt;55 23 * * 1-5 /opt/perf/bin/extract -xp -r /home/gwild/zgbltemplate -g -b today 7:00 -e today 18:00 -f stdout | /bin/mailx -s 'svr1000 performance report' gwild@mydomain.com &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;Output like:&lt;BR /&gt;&lt;BR /&gt;MWA Export on svr1000&lt;BR /&gt;    |        |     |      |Memory|      |Cache | Peak | Pk FS  |&lt;BR /&gt;Year|  Date  |Time |CPU % |  %   |Swap %|Hit % |Disk %|  Sp %  |&lt;BR /&gt;2004|11/05/04|07:00| 46.14| 99.66| 48.00| 88.17| 45.97|   99.64|&lt;BR /&gt;2004|11/05/04|07:05| 12.71| 98.52| 48.00| 96.07|  5.79|   99.64|&lt;BR /&gt;2004|11/05/04|07:10| 11.02| 98.63| 48.00| 99.09|  5.65|   99.64|&lt;BR /&gt;2004|11/05/04|07:15| 13.83| 98.89| 48.00| 95.49| 11.78|   99.64|&lt;BR /&gt;2004|11/05/04|07:20| 29.16| 97.74| 48.00| 89.26| 25.27|   99.64|&lt;BR /&gt;2004|11/05/04|07:25|  9.52| 97.83| 48.00| 97.76|  5.07|   99.64|&lt;BR /&gt;2004|11/05/04|07:30| 12.87| 97.96| 48.00| 97.96|  6.68|   99.64|&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 08 Nov 2004 14:06:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reporting-free-memory/m-p/3417237#M203473</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-11-08T14:06:31Z</dc:date>
    </item>
  </channel>
</rss>

