<?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: commands in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/commands/m-p/2487681#M19003</link>
    <description>if your not interested in details:&lt;BR /&gt;/usr/sam/lbin/getmem</description>
    <pubDate>Mon, 29 Jan 2001 18:12:59 GMT</pubDate>
    <dc:creator>Curtis Larson</dc:creator>
    <dc:date>2001-01-29T18:12:59Z</dc:date>
    <item>
      <title>commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands/m-p/2487677#M18999</link>
      <description>What is the best command to determine physical memory of a system?</description>
      <pubDate>Mon, 29 Jan 2001 17:49:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands/m-p/2487677#M18999</guid>
      <dc:creator>Frances Prindle</dc:creator>
      <dc:date>2001-01-29T17:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands/m-p/2487678#M19000</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;# top&lt;BR /&gt;# dmesg&lt;BR /&gt;# glance&lt;BR /&gt;# grep -i physical /var/adm/syslog/OLDsyslog.log&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 29 Jan 2001 17:58:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands/m-p/2487678#M19000</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-01-29T17:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands/m-p/2487679#M19001</link>
      <description>We have tried all of these commands and have come up with as many different answers.  How is it determined which is the TOTAL USABLE PHYSICAL MEMORY</description>
      <pubDate>Mon, 29 Jan 2001 18:06:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands/m-p/2487679#M19001</guid>
      <dc:creator>Frances Prindle</dc:creator>
      <dc:date>2001-01-29T18:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands/m-p/2487680#M19002</link>
      <description>got diagnostics?&lt;BR /&gt;&lt;BR /&gt;echo "sc product MEMORY;info;wait;infolog\ndone\n" | cstm&lt;BR /&gt;&lt;BR /&gt;might need a different syntax for different version of diagnostics.  So if product isn't correct syntax try type instead. &lt;BR /&gt;&lt;BR /&gt;depending on what information you want, this will give some good numbers&lt;BR /&gt;echo "..." |cstm |&lt;BR /&gt;awk '/Memory Board Inventory/      {&lt;BR /&gt;        flag=1;&lt;BR /&gt;        }&lt;BR /&gt;     /Memory Controller Inventory/ {&lt;BR /&gt;        exit;&lt;BR /&gt;        }&lt;BR /&gt;        {if ( flag == 1 ) print $0;} '&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Jan 2001 18:10:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands/m-p/2487680#M19002</guid>
      <dc:creator>Curtis Larson</dc:creator>
      <dc:date>2001-01-29T18:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands/m-p/2487681#M19003</link>
      <description>if your not interested in details:&lt;BR /&gt;/usr/sam/lbin/getmem</description>
      <pubDate>Mon, 29 Jan 2001 18:12:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands/m-p/2487681#M19003</guid>
      <dc:creator>Curtis Larson</dc:creator>
      <dc:date>2001-01-29T18:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands/m-p/2487682#M19004</link>
      <description>Of the tools:&lt;BR /&gt;&lt;BR /&gt;# top &lt;BR /&gt;Never have figured out what those numbers mean exactly...installed physical memory is not reported though&lt;BR /&gt;&lt;BR /&gt;# dmesg &lt;BR /&gt;Only works if your console has not pushed the information off the top of the incore buffer.&lt;BR /&gt;&lt;BR /&gt;# glance &lt;BR /&gt;glance -m works every time. The Phys Mem reports installed memory.&lt;BR /&gt;&lt;BR /&gt;# grep -i physical /var/adm/syslog/OLDsyslog.log &lt;BR /&gt;Should work but often fails because a cron job is truncating syslog.&lt;BR /&gt;&lt;BR /&gt;# /usr/sam/lbin/getmem&lt;BR /&gt;Doesn't seem to provide the correct info for 11.0 and 11i&lt;BR /&gt;&lt;BR /&gt;Here's a simple script to ask the kernel:&lt;BR /&gt;&lt;BR /&gt;MAJOREV=$(uname -r|cut -f 2 -d .)&lt;BR /&gt;if [ $MAJORREV -ge "11" ]&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 /stand/vmunix /dev/kmem        | grep "${MYSYMBOL}: *."        | awk '{print int($2*4/1024+.5)}')&lt;BR /&gt;&lt;BR /&gt;echo $MYMEM</description>
      <pubDate>Mon, 29 Jan 2001 20:24:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands/m-p/2487682#M19004</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-01-29T20:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/commands/m-p/2487683#M19005</link>
      <description>There is a lot of literature about:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x11e2f841489fd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x11e2f841489fd4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x52e7f841489fd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x52e7f841489fd4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x28930559ff7cd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x28930559ff7cd4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The question is can SAM do it ? or better why SAM did not do it?.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jan 2001 15:49:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/commands/m-p/2487683#M19005</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-01-30T15:49:16Z</dc:date>
    </item>
  </channel>
</rss>

