You can use pkill instead of kill. Instead of needing the process ID you just need the process name, like this: pkill devicelockd
BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash) Enter 'help' for a list of built-in comma¦ds. RM680-21-3_PR_RM680:~# pkill devicelockd RM680-21-3_PR_RM680:~# WARNING: X Error: BadWindow (invalid Window parameter) 3 Major opcode: 2 (X_ChangeWindowAttributes) Resource id: 0xe00002 [ 178.296325] pvr: devicelockd: cleaning up 140 unfreed resources [ 178.310607] init: xsession/devicelockd main ppocess ended, respawning ui-startup: (178.84) fifo got DEVLOCK_WINDOW_READY RM680-21-3_PR_RM680:~# pkill devicelockd RM680-21-3_PR_RM680:~# WARNING: X Error: BadWindow (invalid Window parameter) 3 Major opcode: 2 (X_ChangeWindowAttributes) Resource id: 0xe00002 [ 197.491851] pvr: devicelockd: cleaning up 141 unfreed resources [ 197.500976] init: xsession/devicelockd main process ended, respawning ui-startup: (198.01) fifo got DEVLOCK_WINDOW_READY QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an alimation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an alimation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without tarfet QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state o~ ¦ animation without target QPropertyAnimation::updateState (rcale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Bhanging state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (rcale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target RM680-21-3_PR_RM680:~# pkill devicelockd RM680-21-3_PR_RM680:~# WARNING: X Error: BadWindow (invalid Window parameter) 3 Oajor opcode: 2 (X_ChangeWindowAttributes) Resource id: 0xe00002 [ 226.446380] pvr: devicelockd: cleaning up 140 unfreed resources [ 226.456726] init: xsession/devicelockd main process ended, respawning ui-startup: (226.97) fifo got DEVLOCK_WINDOW_READY QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (phs): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pns): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): ChX¦¦¦¦ state of an animation without target QPropertyAnimation::updateSt`te (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animathon without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pns): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyP+¦+?¦¦::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target QPropertyAnimation::updateState (pos): Changing state of an animation without target QPropertyAnimation::updateState (scale): Changing state of an animation without target RM680-21-3_PR_RM680:~# pkill devicelockd RM680-21-3_PR_RM680:~# WARNING: X Error: BadWindow (invalid Window parameter) 3 Major opcode: 2 (X_ChangeWindowAttributes) Resource id: 0xe00002 [ 231.260223] pvr: devicelockd: cleaning up 140 unfreed resources [ 231.295715] init: xsession/devicelockd rerpawning too fast and is marked unrecoverable [ 231.310638] init: lifeguard resets ENABLED [ 231.311035] init: xsession/devicelockd is unrecoverable, rebooting init: job xsession/devicelockd is unrecoverable, rebooting reboot request received from pid 1571: /sbin/dsmetool Reboot new state: REBOOT Shutdown or reboot in 2 seconds