killall doesn't work on our AIX to kill smb. Here is the one I have used on my AIX for killsmb script: ps -ef | grep samba | awk '{print $2}' >/tmp/sm cat /tmp/smbidfile | while read processid do ps -ef | grep samba kill -9 $processid if [ $? -eq 0 ] then echo " =================== " echo " Just kill $processid" echo " =================== " fi done Stephen Wu> * Phone : (248)265-0483 [8-365] > * Fax : (248)265-9221 [8-365] > * Email : Stephen.Wu-eds@eds.com > > >