[Ilugc] How to run a script on the event of another process getting killed

  • From: dearsaravanan@xxxxxxxxx (Saravanan S)
  • Date: Fri Jan 29 19:52:52 2010

Hi all,
         How to run a script on the event of another process getting killed.
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?

How to look for the PID's state of getting killed?


Saravanan Sundaramoorthy
SSN College of Engineering
Red Hat Certified Engineer
+91 99404 32545

Other related posts: