Viewing virtual memory locations from the command line ??



Hi;

I can use gnome-system-monitor with the Ctrl-M key to view memory
addresses for various processes. It will show me a pop-up window with |
VM Start | VM End | VM Size | Flags | VM Offset | etc.

What would be the command line equivalent ?

I am assuming that such a command line equivalent would have more
refinements than gnome-system-monitor. I have tried ps, vmstat,
cat /proc/*/stat, but have not been able to get what I want to see --
the actual address and offset.

Besides user process addresses, I would like to see kernel processes
addresses on stdout. My understanding is that Virtual Memory for the
kernel map to the same addresses as their physical addresses, so either
view would do. Also, my understanding is that Virtual Memory creates a
buffer in physical memory where it keeps the VM structure; similarly for
a DMA buffer. I would like to view them as well -- at least once.

I have three reasons for doing this;

1) I am currently looking closer at how RAM memory is used. And, like
the guy from Missouri said "seeing is believing".

2) I want to draw a representation of what is in memory at any given
time, just to fix memory operations better in my mind

3) My frustration level is almost boiling over after having spent the
morning trying to find a command line command that will show me
addresses. Now I just want to know how, or if, it can be done from the
command line.

To avoid anyone spending a lot of time on long explanations, I just need
someone to point me in the right direction re: commands. If I have
stated some mis-assumptions here, don't worry about it. I have several
kernel and architecture texts and I am just starting my closer look.

--
Regards Bill
Fedora 11, Gnome 2.26.3
Evo.2.26.3, Emacs 23.1.1

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



Relevant Pages

  • Re: kernel hangs quickly - non-root user reproducible
    ... The magic command is LONG: ... It is a memory test program that can be ... and it kills the kernel. ... the machine can run just about forever, even with quite heavy loads such as ...
    (comp.os.linux.development.system)
  • Re: [SLE] Problems with USB Memory stick
    ... a memory stick in the reader before starting the box. ... > Protocol: Transparent SCSI ... However, whenever I try and mount the stick, the command ... > The system is running the kernel that came with the distro. ...
    (SuSE)
  • Re: kernel hangs quickly - non-root user reproducible
    ... The magic command is LONG: ... | In all cases on this quad core machine, the kernel always hangs or crashes. ... | But why would it be triggered only when it has an apparent out of memory ... But this time it gave some kernel BUG messages (as it sometimes does in the ...
    (comp.os.linux.development.system)
  • Re: avoiding glTranslatef*
    ... that "vertex" would be a internal hardware-level command. ... The modern 3D chip has hundreds of ALU's and a _LOT_ of processing ... What they need is more memory bandwidth, ...
    (comp.graphics.api.opengl)
  • Re: Isnt Command Rate a "memory setting?"
    ... If I set the command rate to 2T, ... spec for your memory says 2.75v. ... is telling me that it's NOT a memory setting. ... PSU problems are not out of ...
    (alt.comp.periphs.mainboard.asus)