<?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: CPU and MEMORY in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-and-memory/m-p/2420502#M41</link>
    <description>The following script may help for 10.X and 11.x systems (note, we put the &lt;BR /&gt;serial number in /etc/issue):&lt;BR /&gt;&lt;BR /&gt;if [[ `uname -r` = *.10.* ]]; then&lt;BR /&gt;   RAM=`adb /stand/vmunix /dev/kmem &amp;lt;&amp;lt; !&lt;BR /&gt;mem_ptr/U&lt;BR /&gt;!`&lt;BR /&gt;   RAM=`echo $RAM | awk '{&lt;BR /&gt;        if ($3 &amp;gt; 1073741824) {&lt;BR /&gt;           printf(" %s GB", $3/1073741824)}&lt;BR /&gt;        else {&lt;BR /&gt;           printf(" %s MB", $3/1048576)}&lt;BR /&gt;        }'`&lt;BR /&gt;#  the "1048576" in the above equation is equivalent to 1024 * 1024&lt;BR /&gt;else&lt;BR /&gt;   RAM=`adb -k /stand/vmunix /dev/kmem &amp;lt;&amp;lt; !&lt;BR /&gt;phys_mem_pages/U&lt;BR /&gt;!`&lt;BR /&gt;   RAM=`echo $RAM | awk '{&lt;BR /&gt;        if ($3 &amp;gt; 1048576/4) {&lt;BR /&gt;           printf(" %s GB", $3*4/1048576)}&lt;BR /&gt;        else {&lt;BR /&gt;           printf(" %s MB", $3*4/1024)}&lt;BR /&gt;        }'`&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;if [[ `uname -r` = *.10.* ]]; then&lt;BR /&gt;   CPU_SPEED=`adb /stand/vmunix /dev/kmem &amp;lt;&amp;lt; !&lt;BR /&gt;itick_per_tick/U&lt;BR /&gt;!`&lt;BR /&gt;   CPU_SPEED=`echo $CPU_SPEED | awk '{print $3 /= 10000}'`&lt;BR /&gt;else&lt;BR /&gt;   CPU_SPEED=`adb -k /stand/vmunix /dev/kmem &amp;lt;&amp;lt; !&lt;BR /&gt;itick_per_n_usec/U&lt;BR /&gt;!`&lt;BR /&gt;   CPU_SPEED=`echo $CPU_SPEED | awk '{print $3}'`&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;   CPU_NUM=`adb -k /stand/vmunix /dev/kmem &amp;lt;&amp;lt; !&lt;BR /&gt;processor_count/D&lt;BR /&gt;!`&lt;BR /&gt;   CPU_NUM=`echo $CPU_NUM | awk '{print $3}'`&lt;BR /&gt;&lt;BR /&gt;  osletter=$(uname -r | awk -F. '{print $1}')&lt;BR /&gt;  osmajor=$(uname -r | awk -F. '{print $2}')&lt;BR /&gt;  osminor=$(uname -r | awk -F. '{print $3}')&lt;BR /&gt;  machine_id=$(uname -i)&lt;BR /&gt;  license=$(uname -l)&lt;BR /&gt;&lt;BR /&gt;echo `date` " Serial Number " `cat /etc/issue | cut -d " " -f 3` "   " `cat &lt;BR /&gt;/etc/issue | cut -d "," -f 1`&lt;BR /&gt;echo "  `hostname` is a `model` has $CPU_NUM $CPU_SPEED MHZ cpu(s) $RAM of &lt;BR /&gt;memory"&lt;BR /&gt;echo "     HP-UX $osletter.$osmajor.$osminor  $license"&lt;BR /&gt;&lt;BR /&gt;example of output:&lt;BR /&gt;Wed Mar 29 10:53:27 PST 2000  Serial Number  6339A02279&lt;BR /&gt;  cpafisc1 is a 9000/735/99 has 1 99 MHZ cpu(s)  208 MB of memory&lt;BR /&gt;     HP-UX B.10.20  two-user license</description>
    <pubDate>Wed, 29 Mar 2000 11:53:34 GMT</pubDate>
    <dc:creator>Steve Wilson_12</dc:creator>
    <dc:date>2000-03-29T11:53:34Z</dc:date>
    <item>
      <title>CPU and MEMORY</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-and-memory/m-p/2420500#M39</link>
      <description>How could I know the number of CPU and the size of MEMORY installed?&lt;BR /&gt;&lt;BR /&gt;Queyon</description>
      <pubDate>Tue, 28 Mar 2000 08:25:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-and-memory/m-p/2420500#M39</guid>
      <dc:creator>Zeng Qing yong</dc:creator>
      <dc:date>2000-03-28T08:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: CPU and MEMORY</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-and-memory/m-p/2420501#M40</link>
      <description>Try dmesg:&lt;BR /&gt;heres what I get on a 2 processor (K360):&lt;BR /&gt;32 processor&lt;BR /&gt;34 processor&lt;BR /&gt;memory Information:&lt;BR /&gt;    physical page size = 4096 bytes, logical page size = 4096 bytes&lt;BR /&gt;    Physical: 2097140 Kbytes, lockable: 1797212 Kbytes, available: 1833496 &lt;BR /&gt;Kbytes&lt;BR /&gt;&lt;BR /&gt;Now there cmd top, that says also 2 processors,&lt;BR /&gt;and you can try stm ...&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Victor</description>
      <pubDate>Tue, 28 Mar 2000 09:23:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-and-memory/m-p/2420501#M40</guid>
      <dc:creator>Victor Berridge_1</dc:creator>
      <dc:date>2000-03-28T09:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: CPU and MEMORY</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-and-memory/m-p/2420502#M41</link>
      <description>The following script may help for 10.X and 11.x systems (note, we put the &lt;BR /&gt;serial number in /etc/issue):&lt;BR /&gt;&lt;BR /&gt;if [[ `uname -r` = *.10.* ]]; then&lt;BR /&gt;   RAM=`adb /stand/vmunix /dev/kmem &amp;lt;&amp;lt; !&lt;BR /&gt;mem_ptr/U&lt;BR /&gt;!`&lt;BR /&gt;   RAM=`echo $RAM | awk '{&lt;BR /&gt;        if ($3 &amp;gt; 1073741824) {&lt;BR /&gt;           printf(" %s GB", $3/1073741824)}&lt;BR /&gt;        else {&lt;BR /&gt;           printf(" %s MB", $3/1048576)}&lt;BR /&gt;        }'`&lt;BR /&gt;#  the "1048576" in the above equation is equivalent to 1024 * 1024&lt;BR /&gt;else&lt;BR /&gt;   RAM=`adb -k /stand/vmunix /dev/kmem &amp;lt;&amp;lt; !&lt;BR /&gt;phys_mem_pages/U&lt;BR /&gt;!`&lt;BR /&gt;   RAM=`echo $RAM | awk '{&lt;BR /&gt;        if ($3 &amp;gt; 1048576/4) {&lt;BR /&gt;           printf(" %s GB", $3*4/1048576)}&lt;BR /&gt;        else {&lt;BR /&gt;           printf(" %s MB", $3*4/1024)}&lt;BR /&gt;        }'`&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;if [[ `uname -r` = *.10.* ]]; then&lt;BR /&gt;   CPU_SPEED=`adb /stand/vmunix /dev/kmem &amp;lt;&amp;lt; !&lt;BR /&gt;itick_per_tick/U&lt;BR /&gt;!`&lt;BR /&gt;   CPU_SPEED=`echo $CPU_SPEED | awk '{print $3 /= 10000}'`&lt;BR /&gt;else&lt;BR /&gt;   CPU_SPEED=`adb -k /stand/vmunix /dev/kmem &amp;lt;&amp;lt; !&lt;BR /&gt;itick_per_n_usec/U&lt;BR /&gt;!`&lt;BR /&gt;   CPU_SPEED=`echo $CPU_SPEED | awk '{print $3}'`&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;   CPU_NUM=`adb -k /stand/vmunix /dev/kmem &amp;lt;&amp;lt; !&lt;BR /&gt;processor_count/D&lt;BR /&gt;!`&lt;BR /&gt;   CPU_NUM=`echo $CPU_NUM | awk '{print $3}'`&lt;BR /&gt;&lt;BR /&gt;  osletter=$(uname -r | awk -F. '{print $1}')&lt;BR /&gt;  osmajor=$(uname -r | awk -F. '{print $2}')&lt;BR /&gt;  osminor=$(uname -r | awk -F. '{print $3}')&lt;BR /&gt;  machine_id=$(uname -i)&lt;BR /&gt;  license=$(uname -l)&lt;BR /&gt;&lt;BR /&gt;echo `date` " Serial Number " `cat /etc/issue | cut -d " " -f 3` "   " `cat &lt;BR /&gt;/etc/issue | cut -d "," -f 1`&lt;BR /&gt;echo "  `hostname` is a `model` has $CPU_NUM $CPU_SPEED MHZ cpu(s) $RAM of &lt;BR /&gt;memory"&lt;BR /&gt;echo "     HP-UX $osletter.$osmajor.$osminor  $license"&lt;BR /&gt;&lt;BR /&gt;example of output:&lt;BR /&gt;Wed Mar 29 10:53:27 PST 2000  Serial Number  6339A02279&lt;BR /&gt;  cpafisc1 is a 9000/735/99 has 1 99 MHZ cpu(s)  208 MB of memory&lt;BR /&gt;     HP-UX B.10.20  two-user license</description>
      <pubDate>Wed, 29 Mar 2000 11:53:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-and-memory/m-p/2420502#M41</guid>
      <dc:creator>Steve Wilson_12</dc:creator>
      <dc:date>2000-03-29T11:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: CPU and MEMORY</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-and-memory/m-p/2420503#M42</link>
      <description>The best way to have information about your system,memory , CPU's , disks , &lt;BR /&gt;cards , firmwares....&lt;BR /&gt;is to install diagnostics from support plus media or IPR and execute : mstm or &lt;BR /&gt;xstm.&lt;BR /&gt;Choose the one that you need info on (memory, CPU...)&lt;BR /&gt;go to action and choose run information.&lt;BR /&gt;good luck</description>
      <pubDate>Fri, 31 Mar 2000 05:39:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-and-memory/m-p/2420503#M42</guid>
      <dc:creator>Ben Boutalib</dc:creator>
      <dc:date>2000-03-31T05:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: CPU and MEMORY</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-and-memory/m-p/2420504#M43</link>
      <description>IN 10.20, uf you run sam, go into performance monitors, select system &lt;BR /&gt;properties.  This gives you your CPU info (how many, speed..), Memory info &lt;BR /&gt;(physical, virtual,..), network info, as well as dynamic info.  This is the &lt;BR /&gt;easiest way I've found to get this info.</description>
      <pubDate>Fri, 31 Mar 2000 07:21:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-and-memory/m-p/2420504#M43</guid>
      <dc:creator>Glenn Wagner_1</dc:creator>
      <dc:date>2000-03-31T07:21:36Z</dc:date>
    </item>
  </channel>
</rss>

