<?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: Processor and Ram in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/processor-and-ram/m-p/2844429#M91863</link>
    <description>You can compile this simple C program (source unknown)&lt;BR /&gt;&lt;BR /&gt;========Cut Here=======&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;main()&lt;BR /&gt;{&lt;BR /&gt;  struct pst_static buf;&lt;BR /&gt;  pstat_getstatic(&amp;amp;buf,sizeof(struct pst_static),1,0);&lt;BR /&gt;  printf("%ld MB\n", buf.physical_memory/256);&lt;BR /&gt;}&lt;BR /&gt;========Cut Here=======&lt;BR /&gt;&lt;BR /&gt;save it as /tmp/memory.c&lt;BR /&gt;cc -o /tmp/ram /tmp/memory.c&lt;BR /&gt;&lt;BR /&gt;now running /tmp/ram gives you the memory on the system.&lt;BR /&gt;This can be run by any user on the system. When using the adb method you need to be root.&lt;BR /&gt;&lt;BR /&gt;Does anyone know of any other method to get the physical memory installed ?&lt;BR /&gt;&lt;BR /&gt;STM(support tool manager) could be used as well but does anyone know any other method.&lt;BR /&gt;&lt;BR /&gt;what is the purpose of /usr/sam/lbin/getmem ?&lt;BR /&gt;&lt;BR /&gt;-Ramesh&lt;/SYS&gt;&lt;/STDIO.H&gt;</description>
    <pubDate>Thu, 14 Nov 2002 00:05:31 GMT</pubDate>
    <dc:creator>linuxfan</dc:creator>
    <dc:date>2002-11-14T00:05:31Z</dc:date>
    <item>
      <title>Processor and Ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/processor-and-ram/m-p/2844425#M91859</link>
      <description>What commands would I use to see my processor size and amount of RAM?&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 13 Nov 2002 23:01:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/processor-and-ram/m-p/2844425#M91859</guid>
      <dc:creator>Tony500</dc:creator>
      <dc:date>2002-11-13T23:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Processor and Ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/processor-and-ram/m-p/2844426#M91860</link>
      <description>Assuming this is 11,&lt;BR /&gt;&lt;BR /&gt;getconf HW_CPU_SUPP_BITS&lt;BR /&gt;&lt;BR /&gt;for memory&lt;BR /&gt;&lt;BR /&gt;echo "phys_mem_pages/D" | adb -k /stand/vmunix /dev/kmem&lt;BR /&gt;&lt;BR /&gt;to yield the number of 4KB pages of installed memory.&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Nov 2002 23:14:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/processor-and-ram/m-p/2844426#M91860</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-11-13T23:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Processor and Ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/processor-and-ram/m-p/2844427#M91861</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'd use the sysinfo util. Will give this &amp;amp; much more. Highly recommended. Can be had at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 13 Nov 2002 23:25:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/processor-and-ram/m-p/2844427#M91861</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-11-13T23:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Processor and Ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/processor-and-ram/m-p/2844428#M91862</link>
      <description>To get the system CPU in MHz&lt;BR /&gt;&lt;BR /&gt;echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem</description>
      <pubDate>Wed, 13 Nov 2002 23:27:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/processor-and-ram/m-p/2844428#M91862</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-11-13T23:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Processor and Ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/processor-and-ram/m-p/2844429#M91863</link>
      <description>You can compile this simple C program (source unknown)&lt;BR /&gt;&lt;BR /&gt;========Cut Here=======&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;main()&lt;BR /&gt;{&lt;BR /&gt;  struct pst_static buf;&lt;BR /&gt;  pstat_getstatic(&amp;amp;buf,sizeof(struct pst_static),1,0);&lt;BR /&gt;  printf("%ld MB\n", buf.physical_memory/256);&lt;BR /&gt;}&lt;BR /&gt;========Cut Here=======&lt;BR /&gt;&lt;BR /&gt;save it as /tmp/memory.c&lt;BR /&gt;cc -o /tmp/ram /tmp/memory.c&lt;BR /&gt;&lt;BR /&gt;now running /tmp/ram gives you the memory on the system.&lt;BR /&gt;This can be run by any user on the system. When using the adb method you need to be root.&lt;BR /&gt;&lt;BR /&gt;Does anyone know of any other method to get the physical memory installed ?&lt;BR /&gt;&lt;BR /&gt;STM(support tool manager) could be used as well but does anyone know any other method.&lt;BR /&gt;&lt;BR /&gt;what is the purpose of /usr/sam/lbin/getmem ?&lt;BR /&gt;&lt;BR /&gt;-Ramesh&lt;/SYS&gt;&lt;/STDIO.H&gt;</description>
      <pubDate>Thu, 14 Nov 2002 00:05:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/processor-and-ram/m-p/2844429#M91863</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2002-11-14T00:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Processor and Ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/processor-and-ram/m-p/2844430#M91864</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;You said you where looking for a command, but if thats not absolutely neccessary you can also use SAM.&lt;BR /&gt;&lt;BR /&gt;In 'Performance Monitors' select 'System Properties'.&lt;BR /&gt;&lt;BR /&gt;Gives a well arranged view of both cpu and memory, in addition to os and network.&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt; Bjoern</description>
      <pubDate>Thu, 14 Nov 2002 10:20:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/processor-and-ram/m-p/2844430#M91864</guid>
      <dc:creator>Bjoern Myrland</dc:creator>
      <dc:date>2002-11-14T10:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Processor and Ram</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/processor-and-ram/m-p/2844431#M91865</link>
      <description>Also you can use&lt;BR /&gt;&lt;BR /&gt;NUmber of processors&lt;BR /&gt;&lt;BR /&gt;#cat /var/adm/syslog/syslog.log|grep processor&lt;BR /&gt;&lt;BR /&gt;Amount of memory&lt;BR /&gt;&lt;BR /&gt;#cat /var/adm/syslog/syslog.log|grep Physical|awk -F ":" '{print $5}'&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 14 Nov 2002 10:53:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/processor-and-ram/m-p/2844431#M91865</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-11-14T10:53:28Z</dc:date>
    </item>
  </channel>
</rss>

