<?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: Memory configuration in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867704#M397987</link>
    <description>Hi Rich,&lt;BR /&gt;&lt;BR /&gt;Check the faqs on Merijn's/Procura's page.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://mirrors.develooper.com/hpux/" target="_blank"&gt;http://mirrors.develooper.com/hpux/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;How much memory do I have&lt;BR /&gt;&lt;BR /&gt;      a5:/ 112 # echo "selclass qualifier memory;info;wait;infolog" | cstm | grep 'Total Configured'&lt;BR /&gt;          Total Configured Memory   : 2048 MB&lt;BR /&gt;      a5:/ 113 # echo 'memory_installed_in_machine/D' | adb -k /stand/vmunix /dev/mem | perl -nle'/(\d+)/&amp;amp;&amp;amp;print$1*4,"k"'&lt;BR /&gt;      2097152k&lt;BR /&gt;      a5:/ 114 # grep Physical /var/adm/syslog/syslog.log&lt;BR /&gt;      Aug 25 08:01:07 a5 vmunix:     Physical: 2097152 Kbytes, lockable: 1562360 Kbytes, available: 1801856 Kbytes&lt;BR /&gt;      a5:/ 115 #&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Robert-Jan</description>
    <pubDate>Wed, 27 Oct 2004 09:57:27 GMT</pubDate>
    <dc:creator>Robert-Jan Goossens_1</dc:creator>
    <dc:date>2004-10-27T09:57:27Z</dc:date>
    <item>
      <title>Memory configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867700#M397983</link>
      <description>Hi All,&lt;BR /&gt;   looking for a command from multi user HPUX that will give me my memory config&lt;BR /&gt;Thanks in advance,</description>
      <pubDate>Wed, 27 Oct 2004 09:51:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867700#M397983</guid>
      <dc:creator>Rich Rossini_1</dc:creator>
      <dc:date>2004-10-27T09:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Memory configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867701#M397984</link>
      <description>swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;Attaching a script to display ram deployment. It requires cstm be installed.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 27 Oct 2004 09:54:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867701#M397984</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-10-27T09:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Memory configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867702#M397985</link>
      <description>If you've glance:&lt;BR /&gt;&lt;BR /&gt;glance -m&lt;BR /&gt;&lt;BR /&gt;If not,&lt;BR /&gt;&lt;BR /&gt;swapinfo -atm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Oct 2004 09:54:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867702#M397985</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2004-10-27T09:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Memory configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867703#M397986</link>
      <description>Rich,&lt;BR /&gt;&lt;BR /&gt;Not being exactly sure what you mean by configuration, I'll offer this little script that gives you the size of RAM:&lt;BR /&gt;&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;Pete</description>
      <pubDate>Wed, 27 Oct 2004 09:56:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867703#M397986</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-10-27T09:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Memory configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867704#M397987</link>
      <description>Hi Rich,&lt;BR /&gt;&lt;BR /&gt;Check the faqs on Merijn's/Procura's page.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://mirrors.develooper.com/hpux/" target="_blank"&gt;http://mirrors.develooper.com/hpux/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;How much memory do I have&lt;BR /&gt;&lt;BR /&gt;      a5:/ 112 # echo "selclass qualifier memory;info;wait;infolog" | cstm | grep 'Total Configured'&lt;BR /&gt;          Total Configured Memory   : 2048 MB&lt;BR /&gt;      a5:/ 113 # echo 'memory_installed_in_machine/D' | adb -k /stand/vmunix /dev/mem | perl -nle'/(\d+)/&amp;amp;&amp;amp;print$1*4,"k"'&lt;BR /&gt;      2097152k&lt;BR /&gt;      a5:/ 114 # grep Physical /var/adm/syslog/syslog.log&lt;BR /&gt;      Aug 25 08:01:07 a5 vmunix:     Physical: 2097152 Kbytes, lockable: 1562360 Kbytes, available: 1801856 Kbytes&lt;BR /&gt;      a5:/ 115 #&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 27 Oct 2004 09:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867704#M397987</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2004-10-27T09:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Memory configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867705#M397988</link>
      <description>grep -i memory /var/adm/syslog/syslog.log..&lt;BR /&gt;&lt;BR /&gt;and also SysInfo utility is a good tool...&lt;BR /&gt;&lt;BR /&gt;Prashant</description>
      <pubDate>Wed, 27 Oct 2004 10:01:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867705#M397988</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2004-10-27T10:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Memory configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867706#M397989</link>
      <description>Or with adb...&lt;BR /&gt;&lt;BR /&gt;# cat /usr/local/bin/hpmem&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;#&lt;BR /&gt;# Taken from the HP/UniGraphics FAQ&lt;BR /&gt;# You must be ROOT to execute this since it uses adb to&lt;BR /&gt;# examine the running kernel&lt;BR /&gt;#&lt;BR /&gt;GetKernelSymbol()&lt;BR /&gt;{&lt;BR /&gt;echo "$1/D" | \&lt;BR /&gt;adb $hpux /dev/kmem | \&lt;BR /&gt;tr "\012" " " | \&lt;BR /&gt;read junk junk2 kval&lt;BR /&gt;}&lt;BR /&gt;hpux=/hp-ux&lt;BR /&gt;rev=$(uname -r | cut -d. -f2)&lt;BR /&gt;if ((rev &amp;gt; 9)); then hpux=/stand/vmunix ;fi&lt;BR /&gt;/bin/uname -a&lt;BR /&gt;GetKernelSymbol "processor_count"&lt;BR /&gt;print CPU Count: $kval&lt;BR /&gt;GetKernelSymbol "itick_per_tick"&lt;BR /&gt;let speed=kval/10000&lt;BR /&gt;print CPU Speed: $speed MHz&lt;BR /&gt;if ((rev &amp;gt; 10)); then&lt;BR /&gt;print CPU HW Support: `getconf HW_CPU_SUPP_BITS`-bit&lt;BR /&gt;print Kernel Support: `getconf KERNEL_BITS`-bit&lt;BR /&gt;GetKernelSymbol "memory_installed_in_machine"&lt;BR /&gt;else&lt;BR /&gt;GetKernelSymbol "physmem"&lt;BR /&gt;fi&lt;BR /&gt;let mb=kval*4/1024 # convert pages to MB&lt;BR /&gt;print RAM Size: $mb MB&lt;BR /&gt;GetKernelSymbol "bufpages"&lt;BR /&gt;let mb=kval*4/1024 # convert pages to MB&lt;BR /&gt;print bufpages: $mb MB&lt;BR /&gt;GetKernelSymbol "maxuprc"&lt;BR /&gt;print maxuprc: $kval&lt;BR /&gt;GetKernelSymbol "maxvgs"&lt;BR /&gt;print maxvgs: $kval&lt;BR /&gt;GetKernelSymbol "maxfiles"&lt;BR /&gt;print maxfiles: $kval&lt;BR /&gt;GetKernelSymbol "max_thread_proc"&lt;BR /&gt;print max_thread_proc: $kval&lt;BR /&gt;GetKernelSymbol "nfile"&lt;BR /&gt;print nfile: $kval&lt;BR /&gt;GetKernelSymbol "nflocks"&lt;BR /&gt;print nflock: $kval&lt;BR /&gt;GetKernelSymbol "nproc"&lt;BR /&gt;print nproc: $kval&lt;BR /&gt;GetKernelSymbol "ninode"&lt;BR /&gt;print ninode: $kval&lt;BR /&gt;GetKernelSymbol "vfd_cw"&lt;BR /&gt;print shmmax: $kval&lt;BR /&gt;GetKernelSymbol "shmmni"&lt;BR /&gt;print shmmni: $kval&lt;BR /&gt;GetKernelSymbol "dbc_max_pct"&lt;BR /&gt;print dbc_max_pct: $kval&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 27 Oct 2004 10:07:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867706#M397989</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-10-27T10:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Memory configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867707#M397990</link>
      <description>Thanks all</description>
      <pubDate>Wed, 27 Oct 2004 11:11:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-configuration/m-p/4867707#M397990</guid>
      <dc:creator>Rich Rossini_1</dc:creator>
      <dc:date>2004-10-27T11:11:34Z</dc:date>
    </item>
  </channel>
</rss>

