Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Accessing proc/memory

by hv (Parson)
on Aug 02, 2006 at 11:50 UTC ( #565207=note: print w/replies, xml ) Need Help??


in reply to Accessing proc/memory

For the initial analysis, and maybe also for the resulting program, I'd suggest playing with gdb, the debugger. This has the ability to attach to a running process, to inspect and modify memory, and much more besides; and because it freezes the process while attached you aren't trying to hit a moving target.

Some scattered clues to this approach may be found in how to write a program to control gdb and Re: Is there any way of determining the current line number of a child process while it is running?.

Hugo

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://565207]
help
Chatterbox?
[marto]: think targeted ads
[marto]: "your house is so big, consider product XYZ", "You clean a lot, consider product ABC"
Discipulus your house is so small, accept dollars from nigeria
[marto]: Discipulus, or space saving products, that sort of thing

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2017-07-26 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (390 votes). Check out past polls.