dwaraka79 has asked for the wisdom of the Perl Monks concerning the following question:

I have signal handler and would like to find the process id of the signal sender, how to do it in perl? Any info is appreciated, Thanks.

Replies are listed 'Best First'.
Re: PID of signal sending process
by salva (Canon) on Apr 10, 2014 at 21:38 UTC
    What you need is the si_pid slot from the siginfo_t structure, not directly available from Perl.

    The topic has been discussed here before: siginfo.

Re: PID of signal sending process
by Anonymous Monk on Apr 10, 2014 at 21:50 UTC