ps -ef | grep $script | grep -v grep #### /tmp/myscripts/some_script.pl # one I want to know about # cd /tmp; perl myscripts/some_script.pl &