linux - How to kill program running in background in ubuntu? -
i'm working on mini2440 , building custom os using buildroot, testing purpose i'm using os downloaded official website. problem is, i'm using usbpush push os images in mini2440 through usb, popups message when enter below commond
sudo ./usbpush supervivi-128m 0x30008000
unable claim usb interface 1 of device: not claim interface 0: device or resource busy
i don't understand 1 concept that, whenever assign executable permission usbpush, runs automatically in background. it's seen below
ps -ef | grep usb*
silicod+ 2431 2207 0 10:25 pts/10 00:00:00 grep --color=auto usbpush
i tried kill using
sudo kill -9 2431
but creates new pid , again run itsellf in background. tried googling nothing works me.
=============================================================
well, got solution. don't know problem usbpush tool, downloaded tool , works well. here link tool , may friendly_arm_mini2440_usbpush
cheers....!
lovely ;-)
well guess not running..
ps -ef give details running processes grep usb* - (loose *) find lines containing usb
the way unix/linux grep gets started first , "|" connects output of ps -ef grep's input finding grep command itself
what want ps -ef | grep -v grep | grep usb - work unless "usb" command grepusb or usbgrep or line contains grep..
Comments
Post a Comment