Re: kqueue EVFILT_PROC and child process pid
Re: kqueue EVFILT_PROC and child process pid
- Subject: Re: kqueue EVFILT_PROC and child process pid
- From: Michael Smith <email@hidden>
- Date: Sun, 11 Oct 2009 23:19:08 -0700
Then using kqueue with EVFILT_PROC i can get the notification that observed process forked/execed a child process.
How could I know the pid of child process?
Additionaly, how much overhead for the system adds observing all of the running processes? Is it any other, more lightweight way to watch for newer spawned processes then kqueue?
Why are you trying to observe the creation of new processes? This can happen faster than you are able to react to their creation; how do you propose to deal with this?
= Mike
-- True terror is to wake up one morning and discover that your high school class is running the country. -- Kurt Vonnegut
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden