Here: kill -9 needs a pid (process ID) ps gives you the pid Or you can try killall. (With no guarantee of success. I have never tried killing devicelockd.)