View Single Post
  #2 (permalink)  
Old 10-19-06, 04:20 AM
curbview.com's Avatar
curbview.com curbview.com is offline
Junior Code Guru
 
Join Date: May 2006
Posts: 555
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by weilies
hi, my question is...

How to stop a perl script (a.pl) from running if the a.pl is currently in running state

thanks
1) Locate the PID from the command line (TOP Command UNIX/LINUX)
2) issue "kill -9 PID #" command
3) If you are running this on a WIN XP machine, it is a totaly different ball-game, but there exist a quite efficient manner to do so.
Reply With Quote