title: Any possible solution to capture process entry/exit?
body: <p>I Would like to capture the process <code>entry</code>, <code>exit</code> and maintain a log for the entire system (probably a daemon process). </p>
  
  <p>One approach was to read <code>/proc</code> file system periodically and maintain the list, as I do not see the possibility to register <code>inotify</code> for <code>/proc</code>. Also, for desktop applications, I could get the help of <code>dbus</code>, and whenever client registers to desktop, I can capture. </p>
  
  <p>But for non-desktop applications, I don't know how to go ahead apart from reading <code>/proc</code> periodically. </p>
  
  <p>Kindly provide suggestions. </p>