however, i myself do not recommend the command below
. actually the below will kill all the process of a particular user, without caring for the other dependancies, if that is fine with you then sure you can go ahead with the command below.
thanks
sorry jsilva, I havent yet seen the link you posted. probably it has scripts which might take care of those dependancies as well.