views:

589

answers:

2

This answer to this question says that there's no way to attach Valgrind to an already running process.
Are there any other tools for Linux that can report on memory usage but can attach to a process that's already running?

+1  A: 

All app data should be in

/proc/<PID>/
neversaint
+5  A: 

You can use tools like pmap or ps_mem.py to get more details about the memory use of running processes than you get from top. You won't get all the fancy features from Valgrind like detecting memory leaks and such.

Ronny Vindenes