I want to get a notification whenever a new process is created.
I've tried to use inotify on /proc, but it didn't report any event even though a new directory appeared in /proc.
I could list the /proc directory in a loop and check if one more directory appeared, but I'm looking for a better solution.