Stefan Wagner <[EMAIL PROTECTED]> wrote: > I'm trying to do some memory analyzing stuff, i wrote me a small .c so > far to dump the memory to a file for later analysis, > the analyzing part itself is python code. > I wonder if any of you has an idea how to dump the whole memory in > Linux/Windows from python ? > Using the .c for this somehow doesn't look right and comfy ;-)
The whole memory of what? Under linux : If you want the whole physical memory of the system then you can dump /dev/mem You can dump the memory of an individual process using the ptrace interface. Both those things will require the relevant rights and neither is quite as easy as you might hope for! -- Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick -- http://mail.python.org/mailman/listinfo/python-list