<?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: Command to find out total physical memory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-find-out-total-physical-memory/m-p/5155340#M455412</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>Mon, 09 Feb 2009 07:57:37 GMT</pubDate>
    <dc:creator>Arturo Galbiati</dc:creator>
    <dc:date>2009-02-09T07:57:37Z</dc:date>
    <item>
      <title>Command to find out total physical memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-find-out-total-physical-memory/m-p/5155336#M455408</link>
      <description>What is the command to find out total physical memory installed in an hp-ux machine?&lt;BR /&gt;&lt;BR /&gt;Dmesg|grep physical &amp;amp; wc -c /dev/mem are does not seem to be working.&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Fri, 06 Feb 2009 11:48:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-find-out-total-physical-memory/m-p/5155336#M455408</guid>
      <dc:creator>點燃</dc:creator>
      <dc:date>2009-02-06T11:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Command to find out total physical memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-find-out-total-physical-memory/m-p/5155337#M455409</link>
      <description>hi &lt;BR /&gt;there is a typo that you are making in the dmesg&lt;BR /&gt;&lt;BR /&gt;do like this&lt;BR /&gt;&lt;BR /&gt;run this as the root user.&lt;BR /&gt;&lt;BR /&gt;#dmesg| grep -i physical &lt;BR /&gt;&lt;BR /&gt;if errors are found please post the errors.&lt;BR /&gt;&lt;BR /&gt;What does the #swapinfo -tam and #top show&lt;BR /&gt;&lt;BR /&gt;also you can see running&lt;BR /&gt;#print_manifest&lt;BR /&gt;#cstm also can be helpful.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sujit</description>
      <pubDate>Fri, 06 Feb 2009 12:01:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-find-out-total-physical-memory/m-p/5155337#M455409</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-02-06T12:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Command to find out total physical memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-find-out-total-physical-memory/m-p/5155338#M455410</link>
      <description>There are many ways to do this - here are a couple:&lt;BR /&gt;&lt;BR /&gt;HPUX=/stand/vmunix&lt;BR /&gt;MAJORREV=$(uname -r | cut -f2 -d .)&lt;BR /&gt;if [ $MAJORREV -ge "11.0" ]&lt;BR /&gt; then&lt;BR /&gt;  MYSYMBOL="phys_mem_pages"&lt;BR /&gt;else&lt;BR /&gt;  MYSYMBOL="physmem"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;MYMEM=$(echo "${MYSYMBOL}/D" \&lt;BR /&gt; | adb $HPUX /dev/kmem \&lt;BR /&gt; | grep "${MYSYMBOL}: *." \&lt;BR /&gt; | awk '{printf "%.0f MB\n",$2/256}')&lt;BR /&gt;echo $MYMEM&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Support Tools Manager (STM) RAM info:&lt;BR /&gt;&lt;BR /&gt;echo "selclass qualifier memory;info;wait;infolog" | cstm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 06 Feb 2009 12:16:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-find-out-total-physical-memory/m-p/5155338#M455410</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2009-02-06T12:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Command to find out total physical memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-find-out-total-physical-memory/m-p/5155339#M455411</link>
      <description>Hi Pradeesh,&lt;BR /&gt;&lt;BR /&gt;Use these commands.&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;&lt;BR /&gt;You can also use SAM to find the physical memory.</description>
      <pubDate>Fri, 06 Feb 2009 12:39:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-find-out-total-physical-memory/m-p/5155339#M455411</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-02-06T12:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Command to find out total physical memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-find-out-total-physical-memory/m-p/5155340#M455412</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>Mon, 09 Feb 2009 07:57:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-find-out-total-physical-memory/m-p/5155340#M455412</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2009-02-09T07:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Command to find out total physical memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-find-out-total-physical-memory/m-p/5155341#M455413</link>
      <description>Hi Pradeesh ,&lt;BR /&gt;&lt;BR /&gt;You can use "machinfo" also&lt;BR /&gt;&lt;BR /&gt;#machinfo|grep Memory&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sanil</description>
      <pubDate>Mon, 09 Feb 2009 08:07:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-find-out-total-physical-memory/m-p/5155341#M455413</guid>
      <dc:creator>Sani</dc:creator>
      <dc:date>2009-02-09T08:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Command to find out total physical memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-find-out-total-physical-memory/m-p/5155342#M455414</link>
      <description>Thanks for all the responses.&lt;BR /&gt;&lt;BR /&gt;The issue resolved.</description>
      <pubDate>Mon, 09 Feb 2009 08:45:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-find-out-total-physical-memory/m-p/5155342#M455414</guid>
      <dc:creator>點燃</dc:creator>
      <dc:date>2009-02-09T08:45:28Z</dc:date>
    </item>
  </channel>
</rss>

