kill - no process found
when I list my processes I have:
root@adam-ThinkPad-T410:~# ps -e | grep signals
11641 pts/0 00:00:00 signals
11642 pts/0 00:00:00 signals
11643 pts/0 00:00:00 signals
but when I want to kill I get info that there is no such process:
root@adam-ThinkPad-T410:~# killall -9 11641
11641: no process found
I'm quite new to linux and a little bit confused I tried also "kill 11641" - but still no luck
12 Answers
killall expects a process name, e.g. killall signals which kills all such processes. Otherwise you should use the process id (which you extraced correctly from ps): kill -9 <PID> where -9 is SIGKILL and is rather rude, normally a kill <PID> is enough (but that sems not to work in your case). man killall and man kill are your friends.
The grep command returns itself as a process when you pipe it from another command. I suppose that the process 11641 is the grep process, which essentially has exited (and cannot be killed the way you are trying to terminate it).
Try to do this:
ps -e | grep signals | grep -v grepThat essentially removes the grep process from the result.
3