<?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 /usr/sam/lbin/getmem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-sam-lbin-getmem/m-p/2902721#M936071</link>
    <description>&lt;BR /&gt;  Hi&lt;BR /&gt;&lt;BR /&gt;    I have many boxes with 11.0 and 11.11. I am trying /usr/sam/lbin/getmem command to get the physical memory. For non root users it gives nothing and for root users it gives wrong answer. I observed that this command is giving right answer in a B class workstation where memory is less than 512 MB. Anyone knows about this command? Why getmem misleading me? Is it a known issue?&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;Shahul</description>
    <pubDate>Wed, 12 Feb 2003 13:13:10 GMT</pubDate>
    <dc:creator>Shahul</dc:creator>
    <dc:date>2003-02-12T13:13:10Z</dc:date>
    <item>
      <title>/usr/sam/lbin/getmem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-sam-lbin-getmem/m-p/2902721#M936071</link>
      <description>&lt;BR /&gt;  Hi&lt;BR /&gt;&lt;BR /&gt;    I have many boxes with 11.0 and 11.11. I am trying /usr/sam/lbin/getmem command to get the physical memory. For non root users it gives nothing and for root users it gives wrong answer. I observed that this command is giving right answer in a B class workstation where memory is less than 512 MB. Anyone knows about this command? Why getmem misleading me? Is it a known issue?&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;Shahul</description>
      <pubDate>Wed, 12 Feb 2003 13:13:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-sam-lbin-getmem/m-p/2902721#M936071</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2003-02-12T13:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/sam/lbin/getmem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-sam-lbin-getmem/m-p/2902722#M936072</link>
      <description>take a look at KBRC00010402     &lt;BR /&gt;getmem doesn't report more the 512mb RAM&lt;BR /&gt;dmesg | grep P&lt;BR /&gt;or consider using glance ? &lt;BR /&gt;</description>
      <pubDate>Wed, 12 Feb 2003 13:19:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-sam-lbin-getmem/m-p/2902722#M936072</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2003-02-12T13:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/sam/lbin/getmem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-sam-lbin-getmem/m-p/2902723#M936073</link>
      <description>Hi Shahul&lt;BR /&gt;&lt;BR /&gt;Go here and I think you'll find the answer to what you're looking for&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000063198307" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000063198307&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;it is an obsolete command</description>
      <pubDate>Wed, 12 Feb 2003 13:19:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-sam-lbin-getmem/m-p/2902723#M936073</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-02-12T13:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/sam/lbin/getmem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-sam-lbin-getmem/m-p/2902724#M936074</link>
      <description>Shahul,&lt;BR /&gt;&lt;BR /&gt;I use the following script for memory reporting:&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"         | adb $HPUX /dev/kmem         | grep "${MYSYMBOL}: *."         | awk '{printf "%.0f MB\n",$2/256}')&lt;BR /&gt;echo $MYMEM&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 12 Feb 2003 13:20:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-sam-lbin-getmem/m-p/2902724#M936074</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-02-12T13:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/sam/lbin/getmem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-sam-lbin-getmem/m-p/2902725#M936075</link>
      <description>&lt;BR /&gt;Pete your suggestion needs to read KMEM which is something users cannot do.  it puts the problem back to &lt;BR /&gt;glance -m</description>
      <pubDate>Thu, 13 Feb 2003 22:42:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-sam-lbin-getmem/m-p/2902725#M936075</guid>
      <dc:creator>Rory R Hammond</dc:creator>
      <dc:date>2003-02-13T22:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/sam/lbin/getmem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-sam-lbin-getmem/m-p/2902726#M936076</link>
      <description>Hi,&lt;BR /&gt;You can use this:&lt;BR /&gt;&lt;BR /&gt;#/usr/sbin/dmesg |grep -i Physical&lt;BR /&gt;look for the output line beginning:&lt;BR /&gt;Physical: xxx Kbytes&lt;BR /&gt;Divide it by 1024 to the value in MBs. &lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 14 Feb 2003 01:14:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-sam-lbin-getmem/m-p/2902726#M936076</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2003-02-14T01:14:07Z</dc:date>
    </item>
  </channel>
</rss>

