<?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 view the memory size (RAM size) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/6084041#M484351</link>
    <description>&lt;P&gt;I manage a number of legacy HP-UX systems from HP-UX 9 to HP-UX 11 and not all have all toos/commands.&lt;/P&gt;&lt;P&gt;Thus I prefer something which works on all flavors.&lt;/P&gt;&lt;P&gt;dmesg does not give the answer if the system was up a long time and the buffer does not hold the boot information anymore. Kernel tools are different on different versions and support tools are often not installed.&lt;/P&gt;&lt;P&gt;Currently I use a combination of dmesg and syslog lookup and check for the Physical memory lines, which gives me a result in most cases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; [[ -d /usr/adm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]] &amp;amp;&amp;amp; SYSLOGdir=/usr/adm&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; [[ -d /var/adm/syslog ]] &amp;amp;&amp;amp; SYSLOGdir=/var/adm/syslog&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dmesg | cat - $SYSLOGdir/*syslog* \&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | grep Physical: \&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | sed -e 's/.*ical: *//' -e 's/ .*//' \&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | sort -u | awk '{printf( "%d MB\n", $0/1024 )}'&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2013 09:07:25 GMT</pubDate>
    <dc:creator>BBphil</dc:creator>
    <dc:date>2013-05-29T09:07:25Z</dc:date>
    <item>
      <title>How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395714#M350851</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;  In HP-UX, how to view the memory size.&lt;BR /&gt;&lt;BR /&gt; In linux i am using "# free -m". like this &lt;BR /&gt;what is the commnad used in HP-UX.</description>
      <pubDate>Mon, 06 Apr 2009 12:17:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395714#M350851</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-04-06T12:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395715#M350852</link>
      <description>swapinfo -m&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;top  (12th line)&lt;BR /&gt;&lt;BR /&gt;Memory: 826688K (466512K) real, 3096440K (2098204K) virtual, 176636K free  Page# 1/17&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;vmstat 5 55  (5th collumn)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Apr 2009 12:20:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395715#M350852</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2009-04-06T12:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395716#M350853</link>
      <description>Hi Senthil,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;check following commands...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# dmesg |grep -i Physical&lt;BR /&gt;&lt;BR /&gt;#print_manifest |grep -i memory&lt;BR /&gt;&lt;BR /&gt;Check with sam also as,&lt;BR /&gt;&lt;BR /&gt;sam -&amp;gt; performance monitor -&amp;gt; system properties -&amp;gt; memory</description>
      <pubDate>Mon, 06 Apr 2009 12:23:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395716#M350853</guid>
      <dc:creator>Sajid Iqubal</dc:creator>
      <dc:date>2009-04-06T12:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395717#M350854</link>
      <description># echo "selclass qualifier memory;info;wait;infolog"|cstm &lt;BR /&gt;&lt;BR /&gt;this will give out the memory arrangment and slots in the board.</description>
      <pubDate>Mon, 06 Apr 2009 12:31:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395717#M350854</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2009-04-06T12:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395718#M350855</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can check using glance &lt;BR /&gt;#glance -m&lt;BR /&gt;&lt;BR /&gt;Reagrds&lt;BR /&gt;Prashant</description>
      <pubDate>Mon, 06 Apr 2009 12:36:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395718#M350855</guid>
      <dc:creator>Prashanth Waugh</dc:creator>
      <dc:date>2009-04-06T12:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395719#M350856</link>
      <description>&lt;P&gt;Senthil,&lt;BR /&gt;&lt;BR /&gt;Use #print_manifest&lt;BR /&gt;&lt;BR /&gt;(/opt/ignite/bin/print_manifest)&lt;BR /&gt;&lt;BR /&gt;Check this link as well &lt;STRIKE&gt;&lt;A target="_blank" rel="noopener"&gt;http://docs.hp.com/en/B2355-90772/ch05s06.html&amp;nbsp;&lt;/A&gt;&lt;/STRIKE&gt;[&lt;U&gt;&lt;STRONG&gt;Admin&lt;/STRONG&gt;&lt;/U&gt;: This link is no longer valid]&lt;BR /&gt;&lt;BR /&gt;Attached are some useful docs..&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 12:18:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395719#M350856</guid>
      <dc:creator>Sivakumar MJ._1</dc:creator>
      <dc:date>2021-01-05T12:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395720#M350857</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;If you are running an Itanium server, use :&lt;BR /&gt;&lt;BR /&gt;# machinfo&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 06 Apr 2009 13:08:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395720#M350857</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-04-06T13:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395721#M350858</link>
      <description>the following command also can be used:&lt;BR /&gt;&lt;BR /&gt;dmesg | grep -E -i 'memory|physical'&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Apr 2009 13:43:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395721#M350858</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2009-04-06T13:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395722#M350859</link>
      <description>If lot of diagnostic messages are being logged to system buffer, the dmesg wont be able to show your the Physical memory &lt;BR /&gt;&lt;BR /&gt;Better way as suggest above is print_manifest or machinfo from the OS.</description>
      <pubDate>Mon, 06 Apr 2009 15:31:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395722#M350859</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-04-06T15:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395723#M350860</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Many ways you can find the physical memory details. Fews are,&lt;BR /&gt;&lt;BR /&gt;# echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm | grep 'Total Configured'  &lt;BR /&gt;# echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm | awk '/Total Configured/{print $5}'|head -1 &lt;BR /&gt;# /opt/ignite/bin/print_manifest   |grep i memory&lt;BR /&gt;# dmesg |grep -i physical&lt;BR /&gt;# grep Phys /var/adm/syslog/syslog.log</description>
      <pubDate>Mon, 06 Apr 2009 16:38:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395723#M350860</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-04-06T16:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395724#M350861</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1). Through SAM&lt;BR /&gt;#sam&amp;gt; Press "Return" to continue...&amp;gt; Performance Monitors&amp;gt; System Properties&amp;gt; Memory.&lt;BR /&gt;&lt;BR /&gt;2). You can get it through kmeminfo (if kmeminfo is installed).&lt;BR /&gt;#cd /tmp&lt;BR /&gt;#./kmeminfo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thnx...Farhan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Apr 2009 04:26:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395724#M350861</guid>
      <dc:creator>Md. Farhan A Azam</dc:creator>
      <dc:date>2009-04-07T04:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395725#M350862</link>
      <description>hi,&lt;BR /&gt;I always do this below command to check my physical memory.&lt;BR /&gt; &lt;BR /&gt;# dmesg |grep -i physical&lt;BR /&gt;or &lt;BR /&gt;machinfo&lt;BR /&gt;or&lt;BR /&gt;nickel&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Tue, 07 Apr 2009 04:33:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395725#M350862</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-04-07T04:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395726#M350863</link>
      <description>Hi,&lt;BR /&gt;# To get RAM size in KB&lt;BR /&gt;perl -e 'local($PSTAT,$PSTAT_STATIC,$mem_info,$PSTAT_STRUCT)=(239,2,"\0"x120,"LI4L");&lt;BR /&gt;syscall($PSTAT,$PSTAT_STATIC,$mem_info,length($mem_info),1,0);&lt;BR /&gt;print "RAM=".int((unpack($PSTAT_STRUCT,$mem_info))[4]*((unpack($PSTAT_STRUCT,$mem_info))[5])/(1024*1024))."\n";'&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Art</description>
      <pubDate>Tue, 07 Apr 2009 06:25:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/4395726#M350863</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2009-04-07T06:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/5966275#M483277</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# glance -m&lt;BR /&gt;sh: glance:&amp;nbsp; not found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lokman&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2013 08:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/5966275#M483277</guid>
      <dc:creator>Lokman_csl</dc:creator>
      <dc:date>2013-02-18T08:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/5966371#M483279</link>
      <description>&lt;P&gt;&amp;gt;sh: glance:&amp;nbsp; not found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You purchase glance separately.&lt;/P&gt;&lt;P&gt;(Try another of the above suggestions, except for dmesg.)&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2013 09:13:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/5966371#M483279</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-02-18T09:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the memory size (RAM size)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/6084041#M484351</link>
      <description>&lt;P&gt;I manage a number of legacy HP-UX systems from HP-UX 9 to HP-UX 11 and not all have all toos/commands.&lt;/P&gt;&lt;P&gt;Thus I prefer something which works on all flavors.&lt;/P&gt;&lt;P&gt;dmesg does not give the answer if the system was up a long time and the buffer does not hold the boot information anymore. Kernel tools are different on different versions and support tools are often not installed.&lt;/P&gt;&lt;P&gt;Currently I use a combination of dmesg and syslog lookup and check for the Physical memory lines, which gives me a result in most cases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; [[ -d /usr/adm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]] &amp;amp;&amp;amp; SYSLOGdir=/usr/adm&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; [[ -d /var/adm/syslog ]] &amp;amp;&amp;amp; SYSLOGdir=/var/adm/syslog&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dmesg | cat - $SYSLOGdir/*syslog* \&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | grep Physical: \&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | sed -e 's/.*ical: *//' -e 's/ .*//' \&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | sort -u | awk '{printf( "%d MB\n", $0/1024 )}'&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2013 09:07:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-view-the-memory-size-ram-size/m-p/6084041#M484351</guid>
      <dc:creator>BBphil</dc:creator>
      <dc:date>2013-05-29T09:07:25Z</dc:date>
    </item>
  </channel>
</rss>

