Monitor memory usage of child process
Posted
by Omry
on Stack Overflow
See other posts from Stack Overflow
or by Omry
Published on 2010-05-02T17:12:54Z
Indexed on
2010/05/02
17:17 UTC
Read the original article
Hit count: 279
I have a Linux daemon that forks a few children and monitors them for crashes (restarting as needed). It will be great if the parent could monitor the memory usage of child processes - to detect memory leaks and restart child processes when the go beyond a certain size. How can I do this?
© Stack Overflow or respective owner