title: Monitor memory usage of child process
body: <p>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?</p>