Originally posted by: orphy
If they are tied to a particular user, try
ps -fu<user>|egrep -v 'PID|egrep'|awk '{print $2}'|xargs -i kill {}
If tied to a particular tty/pts, try
ps -ft<tty or pts>|egrep -v 'PID|egrep'|awk '{print $2}'|xargs -i kill {}
If neither, show us a list of those processes and we'll look at this again.
Orphy