domain registration

Unix Signals

by terhunetech on May 2, 2011

Unix signals are initiated both by operating applications, computer administrators, or operators. One instance of the signal is the SIGHUP signal, which is sent to the web to instruct the web Daemon, also known as inetd, to repeat studying the Daemon’s configuration file.

To interrupt the Daemon’s currently operating process (ID, or PID), key in the command destroy -SIGHUP 4140.

It’s also feasible to use signals to terminate a currently running process. To end the inetd procedure completely, key in the following command: kill 4140. This command will, by default, send a SIGTERM signal. If this command fails, then the SIGKILL command is entered to finish this process: kill -9 4140. Because this command cannot be controlled, it’s usually not a great idea to utilize it to stop a procedure. This command does not allow a procedure to clean up or to finish gracefully.

How are Unix Signals Managed?

Every Unix signal outcomes inside a default range of results when utilized with a Unix plan. Computer programmers can opt to code their very own applications to get a customized response on the receipt of most signals. The term used to describe these individually designed strings of code is “signal handlers”.

Signal handlers are unable to redefine two distinctive signals. In each and every scenario, SIGKILL is used to end a process. Similarly, SIGSTOP always sends a operating software to the background when it’s within the foreground.

Related posts:

  1. Cleaning and Organizing Your Pc
  2. Security – I Think I’ve A Virus
  3. Apple Makes Partnership with Intel
  4. Malware Protection Not Sufficient To Maintain Your Computer Risk-free
  5. How to Protect Your Files From a Pc Virus

Comments on this entry are closed.

Previous post:

Next post: