Killing Unwanted Processes

Sometimes a process goes so far out of control that you have no choice but to terminate it. Sometimes you can exit from a program in the normal manner, by selecting an exit option from its user interface. Some programs, though, such as most daemons, lack user interfaces in the conventional sense. (Most daemons can be shut down through their SysV startup scripts, though.) Programs may also become unresponsive to their user interfaces, or you might not have access to those user interfaces (as with programs run by remote users). In such cases, you can use the kill program to terminate the runaway processes. The same program can be used to pass nontermination signals to programs. These signals can tell a server to reread a configuration file, for instance. Other tools can be helpful or simpler to use than kill in some situations.

0 0

Post a comment