Re: Memory snapshot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi....

>  We have /proc/[pid]/maps or pmap for displaying the memory  mapping
> for  a particular process.
>  Do we have a way to see the snap shot of what is currently in the
> memory?(a total snapshot!)
>  (say 0x... to 0x... shared library,
> 0x... to 0x... process i, etc..)

Try to observe /dev/mem and /dev/kmem. Probably not something that you 
want, but via these device files you can see the whole memory contents 
and thus observe what's in there.

Another way is using gdb + /proc/kcore + vmlinux (last one is needed as 
symbol file).

regards,

Mulyadi


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux