John,
I found something that you may find useful for process monitoring, etc. It
is loosely related to what you wanted but probably useful to know. Look here:

http://oss.digirati.com.br/watchcatd/

I found this by looking here: http://libevent.org/