Need to abort a perl script (make it die) - from another script.
问题 I need to abort a Perl script which is running in the background from another script. Many perl scripts run on our machine. I need to abort one of the them on request. All I will know is the name of the perl script to abort. I need to abort that one particular script without affecting other processes. I tried killing it using PID/Image Name but it did not work for the below reasons, 1)I do not know the PID of the script (as it runs from a trigger) 2)The script runs in the background, so the