Unix Signals Article Unix Signals Article
    home | all categories | submit articles | about us | links | link to us | site map | contact us | recommended resources
 
Home » Articles » technology » Unix Signals

Unix Signals


By Brad Thorn

Unix Signals

Unix signals are initiated either by running programs, computer administrators, or operators. One example of a signal is the SIGHUP signal, which is sent to the internet to instruct the Internet Daemon, also known as inetd, to repeat reading the Daemon's configuration file.

To interrupt the Daemon's currently running process (ID, or PID), key in the command kill -SIGHUP 4140.

It is also possible to use signals to terminate a currently running process. To end the inetd process entirely, 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 end this process: kill -9 4140. Since this command cannot be controlled, it is usually not a good idea to utilize it to stop a process. This command does not permit a process to clean up or to end gracefully.

How are Unix Signals Managed?

Every Unix signal results in a default range of effects when used with a Unix program. Computer programmers can opt to code their own applications for a customized response upon 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 unique signals. In every situation, SIGKILL is used to end a process. Similarly, SIGSTOP always sends a running application to the background when it is in the foreground.



About the author

Brad writes on topics such as Unix Signals, Signal Quality, and Signal to Noise Ratio for The Tech FAQ. from http://www.FreeArticlesAndContent.com

Copy This Article For FREE!!!

You can use this article and copy it on your own website for free! All you have to do is make sure the article is copied with no changes and includes the "About The Author" text. Also please ensure that all url's are hyperlinked according. Thank you.

Link To This Article - And We'll Link Back To Your Website!

You are more then welcome to link to this article! All you have to do is copy this webpage address from the address bar and create a link on your website. Please use the title of this article for your link text. Please get in contact once you have linked to this article and we'll link back to you! Thank you.
 
Other great articles from this category...


Telecommunications are Very Important
Friday, 10th October 2008

Talking about ring tones
Friday, 10th October 2008

Latest Hot Technology Trends
Thursday, 9th October 2008

How To Find The Best HDTV For Your Home
Thursday, 9th October 2008

The Decluttered Workspace
Thursday, 9th October 2008

What Is So Special About Computer Ink?
Thursday, 9th October 2008

Keep Motoring On With Fuel Cell Vehicles
Wednesday, 8th October 2008

Laptop security - Best Practices
Wednesday, 8th October 2008


Related Sites





Free Articles

Unsecured Credit Card Application   Free Proxy   Motorola MotoPEBL   Dog Training
Copyright © 2005-2008 Your Marketing Ltd. All Rights Reserved