Greetings,

On Fri, Jan 29, 2010 at 7:52 PM, Saravanan S <dearsarava...@gmail.com> wrote:
> Hi all,
> Like once a GUI app is closed by clicking the x at the top right corner of
> the window(usually), i should invoke a script.
>
> How to track the PID of the script we run?

touch a file in say /var/lock/subsys

(This is the way yum prevents another instance)

Also checkout auditd.
Must be there in almost all the distros as it is part of kernel
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to