M HYPE SPLASH
// general

kill - no process found

By Emily Wilson

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

1

2 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.

3

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 grep

That essentially removes the grep process from the result.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy