<?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: Display a Memory Buffer in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/display-a-memory-buffer/m-p/5721611#M638341</link>
    <description>&lt;P&gt;&amp;gt;This leads me to believe I will have to use adb (do not know if I have it)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's in /usr/bin/adb.&amp;nbsp; Something like:&lt;/P&gt;&lt;P&gt;# adb /stand/vmunix /dev/kmem&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jul 2012 20:01:16 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2012-07-12T20:01:16Z</dc:date>
    <item>
      <title>Display A Memory Buffer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-a-memory-buffer/m-p/5720117#M638335</link>
      <description>&lt;P&gt;If I know the location of a memory buffer (in HP-UX 11.00), how can I display the memory contents. I would prefer to display a number of memory locations if possibel. Are ther any tools, scripts, etc. to allow me to view memory at specific locations?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2012 16:31:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-a-memory-buffer/m-p/5720117#M638335</guid>
      <dc:creator>bill-clayton</dc:creator>
      <dc:date>2012-07-11T16:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Display a Memory Buffer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-a-memory-buffer/m-p/5720211#M638336</link>
      <description>&lt;P&gt;Are you talking about in a debugger for a user application using gdb?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2012 18:54:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-a-memory-buffer/m-p/5720211#M638336</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-07-11T18:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Display a Memory Buffer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-a-memory-buffer/m-p/5720355#M638337</link>
      <description>&lt;P&gt;No I'm not talking about GDB. I wish I had an object code debugger like OllyDbg for PARISC, but alas I don't. All I want to be able to do is point to a memory address and then read one to 256 words of memory -- much like one would see with a hex editor -- but not for a file, but for memory locations. Is that clearer? I hope I'm saying it right!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2012 21:41:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-a-memory-buffer/m-p/5720355#M638337</guid>
      <dc:creator>bill-clayton</dc:creator>
      <dc:date>2012-07-11T21:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Display a Memory Buffer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-a-memory-buffer/m-p/5720377#M638338</link>
      <description>&lt;P&gt;&amp;gt;I want to be able to do is point to a memory address and then read one to 256 words of memory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, are you talking about a user process or the kernel?&lt;/P&gt;&lt;P&gt;gdb's x command can dump memory of a user process.&amp;nbsp; For the kernel, you need to use adb.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2012 22:13:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-a-memory-buffer/m-p/5720377#M638338</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-07-11T22:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Display a Memory Buffer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-a-memory-buffer/m-p/5721171#M638339</link>
      <description>&lt;P&gt;In Unix, "everything is a file".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With /dev/mem and /dev/kmem, you can access the main memory if you are root or a member of the "sys" group. Just open the device, seek to the location you want and read. /dev/mem gives access to physical memory, and /dev/kmem to kernel virtual memory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the big challenge will be knowing the right address (which translates into file position when reading the /dev/(k)mem device file). Any memory addresses you might get from the debug output of an application will normally refer to the virtual address space of that particular process: a mapping operation is required to find the corresponding address in the kernel virtual address space, and another mapping operation to find the corresponding physical address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if you're debugging hardware that is located in a known physical memory address and/or can read the kernel data structures to find the necessary information to translate the addresses, more power to you.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2012 13:32:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-a-memory-buffer/m-p/5721171#M638339</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-07-12T13:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Display a Memory Buffer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-a-memory-buffer/m-p/5721519#M638340</link>
      <description>&lt;P&gt;Thanks Matti and also Dennis Handly -- points to both of you. I will try the easiest first, but I doubt it will work since I am trying to look at locations populated by kernel system calls. This leads me to believe I will have to use ADB (do not know if I have it) or try your method Matti. Thanks to both of you.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2012 18:27:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-a-memory-buffer/m-p/5721519#M638340</guid>
      <dc:creator>bill-clayton</dc:creator>
      <dc:date>2012-07-12T18:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Display a Memory Buffer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-a-memory-buffer/m-p/5721611#M638341</link>
      <description>&lt;P&gt;&amp;gt;This leads me to believe I will have to use adb (do not know if I have it)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's in /usr/bin/adb.&amp;nbsp; Something like:&lt;/P&gt;&lt;P&gt;# adb /stand/vmunix /dev/kmem&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2012 20:01:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-a-memory-buffer/m-p/5721611#M638341</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-07-12T20:01:16Z</dc:date>
    </item>
  </channel>
</rss>

