Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Originally posted by moskito01 I thought kill can kill every Process?
Or what am I doing wrong...
Try ~$ man kill
...For a process to have permission to send a signal to a process designated
by pid, the real or effective user ID of the receiving process must match
that of the sending process or the user must have appropriate privileges
(such as given by a set-user-ID program or the user is the superuser)....
Also, some processes are so screwed up that they will ignore a soft kill command. Running 'kill <pid>' asks the process to wrap up loose ends and tidy up then die. If the process is hung it may not listen. Try a 'kill -9 <pid>' which will kill it outright with no cleanup. Sometimes it is the only way to kill a hung/misbehaving process.
Just as a side note... a utility I use that I find useful is HTOP. It gives a visual look @ all running pid's etc...
Not only that, but it's quite handy to kill those mad processes. Press 'k', then select the signal you want to send to the process in the list that will appear to the left. In most cases, you will want either the default 15 (SIGTERM) or 9, as in the kill command above (SIGKILL).