how to trap signals.

hi!!,
i wanna trap all Signal 10, 11, 15 generated by any process running on my server irrespective of the user and wanna write to a log file. Any ideas? Do this script need to be a root process??

:cool:

hi!,
I have chosen a different approach to my previous problem. I have added a signal handler to my C code which traps the signals occuring in any instance of my application and writes to a central log file.. which I keep on grep-ing through a script for further action. but, I am just dont have any idea about how make things happen by my first approach. any ideas to gimme any insight about how to proceed in the problem would be anxiously awaited.
:stuck_out_tongue: