For those not familiar with the Unix references in the rap, sometimes you need to stop a runaway program. On a Windows machine, you'd use the process manager (the thing that pops up when you hit ctrl-alt-del on newer Windows versions). On Unix, you use a command called "kill." There are various forms of kill that have different levels of severity.
- The normal "kill" will send a "terminate" signal asking the program to stop running. The program may ignore the signal.
- "kill -1" sends a "hang up" signal. Some programs will respond to this signal by reconfiguring or restarting themselves.
- "kill -9" tells the operating system "do whatever it takes to shut this program down now." It does not give the program time to react. It simply takes the program down immediately.
No comments:
Post a Comment