This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients giampaolo.rodola, neologix, pitrou, vstinner
Date 2013-10-12.14:09:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381586998.25.0.978950721644.issue12187@psf.upfronthosting.co.za>
In-reply-to
Content
On Linux, it possible to watch processes using a netlink socket:
http://www.outflux.net/blog/archives/2010/07/01/reporting-all-execs/

Example:
http://users.suse.com/~krahmer/exec-notify.c

Python binding (written in Cython) for proc connector:
http://debathena.mit.edu/trac/browser/trunk/debathena/debathena/metrics/debathena/metrics/connector.pyx

There is just a minor limitation: you must be root (CAP_NET_ADMIN) to use this interface...
History
Date User Action Args
2013-10-12 14:09:58vstinnersetrecipients: + vstinner, pitrou, giampaolo.rodola, neologix
2013-10-12 14:09:58vstinnersetmessageid: <1381586998.25.0.978950721644.issue12187@psf.upfronthosting.co.za>
2013-10-12 14:09:58vstinnerlinkissue12187 messages
2013-10-12 14:09:57vstinnercreate