<?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: mem : Command not found in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mem-command-not-found/m-p/3358576#M193653</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;Try &lt;BR /&gt;#dmesg |grep Physical&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 17 Aug 2004 02:54:24 GMT</pubDate>
    <dc:creator>Shaikh Imran</dc:creator>
    <dc:date>2004-08-17T02:54:24Z</dc:date>
    <item>
      <title>mem : Command not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mem-command-not-found/m-p/3358575#M193652</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;how can I see how big is the Main Memory of my system?&lt;BR /&gt;HP-UX 11.00&lt;BR /&gt;&lt;BR /&gt;mem dosen't work.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Kevin</description>
      <pubDate>Tue, 17 Aug 2004 02:43:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mem-command-not-found/m-p/3358575#M193652</guid>
      <dc:creator>Kevin_194</dc:creator>
      <dc:date>2004-08-17T02:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: mem : Command not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mem-command-not-found/m-p/3358576#M193653</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;Try &lt;BR /&gt;#dmesg |grep Physical&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Aug 2004 02:54:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mem-command-not-found/m-p/3358576#M193653</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-08-17T02:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: mem : Command not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mem-command-not-found/m-p/3358577#M193654</link>
      <description>The command dmesg gives the message buffer. At boot time it will print out memory information: &lt;BR /&gt;&lt;BR /&gt;e.g. dmesg:&lt;BR /&gt;... &lt;BR /&gt;Memory Information:&lt;BR /&gt;    physical page size = 4096 bytes, logical page size = 4096 bytes&lt;BR /&gt;    Physical: 524288 Kbytes, lockable: 387264 Kbytes, available: 449148 Kbytes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can also use Glance's memory screen. &lt;BR /&gt;&lt;BR /&gt;With adb you can get the number of physical pages (1 page = 4kB) directly from the kernel: &lt;BR /&gt;&lt;BR /&gt;for HPUX 11.X: &lt;BR /&gt;&lt;BR /&gt;echo phys_mem_pages/D | adb /stand/vmunix /dev/kmem&lt;BR /&gt;&lt;BR /&gt;phys_mem_pages:&lt;BR /&gt;phys_mem_pages: 131072&lt;BR /&gt;&lt;BR /&gt;This system has 4kB * 131072 memory, ie. 512MB.&lt;BR /&gt;&lt;BR /&gt;Carsten&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Aug 2004 02:56:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mem-command-not-found/m-p/3358577#M193654</guid>
      <dc:creator>Carsten Krege</dc:creator>
      <dc:date>2004-08-17T02:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: mem : Command not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mem-command-not-found/m-p/3358578#M193655</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;OR &lt;BR /&gt;Try this script:&lt;BR /&gt;&lt;BR /&gt;/*  mem.c - To compile: cc +DAportable -o mem mem.c  */&lt;BR /&gt;#include &lt;ERRNO.H&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#define BYTES_PER_MB 1048576&lt;BR /&gt;main()&lt;BR /&gt;{&lt;BR /&gt;  struct pst_static pst;&lt;BR /&gt;  union pstun pu;&lt;BR /&gt;&lt;BR /&gt;  pu.pst_static = &amp;amp;pst;&lt;BR /&gt;  if ( pstat( PSTAT_STATIC, pu, (size_t)sizeof(pst), (size_t)0, 0 ) != -1&lt;BR /&gt;) {&lt;BR /&gt;    printf( "Physical RAM = %ld MB\n", &lt;BR /&gt;      (long)( (double)pst.physical_memory * pst.page_size / BYTES_PER_MB&lt;BR /&gt;) );&lt;BR /&gt;    exit( 0 );&lt;BR /&gt;  } else {&lt;BR /&gt;    perror("pstat_getstatic");&lt;BR /&gt;    exit( errno );&lt;BR /&gt;  }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;/SYS&gt;&lt;/SYS&gt;&lt;/STDIO.H&gt;&lt;/ERRNO.H&gt;</description>
      <pubDate>Tue, 17 Aug 2004 02:59:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mem-command-not-found/m-p/3358578#M193655</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-08-17T02:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: mem : Command not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mem-command-not-found/m-p/3358579#M193656</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1.) dmesg | grep -i phys&lt;BR /&gt;&lt;BR /&gt;2.) /opt/ignite/bin/print_manifest (which gives you detailed system information)&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Tue, 17 Aug 2004 03:22:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mem-command-not-found/m-p/3358579#M193656</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-08-17T03:22:52Z</dc:date>
    </item>
  </channel>
</rss>

