Knowledge is Power.  Have a bite!
FREE WEB CONTENT and ARTICLES
Read. Discover. Learn. Share.
Free Web Content and Articles




You are Home | Computers & Technology





Unix Signals

By: Roberto Bell

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.




Article Source: EZINEPRIME - FREE WEB CONTENT and ARTICLES

Brad writes on topics such as Unix Signals, Signal Quality, and Signal to Noise Ratio for The Tech FAQ.



Add this article to your favorite Social Bookmarkers. Bookmark this Article using any bookmark manager


Print This Article Post Comment Add To Favorites Email to Friends Ezine Ready






More Related Articles on Computers & Technology


Click here for more ARTICLE CATEGORIES






















 
Links
Links
Links
 
  Cool MySpace Layouts
Cool Friendster Layouts
 
Bite Me!

EzinePrime © 2006-2007 HubPrime.com
Notice: We collect personal information on this site. To learn more about
how we use your information, please see our Privacy Policy.

Home | About| Contact Us | PrimeLinks| Privacy Policy | Terms of Service | RSS
by  HubPrime
 
Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.
EuworxWordPress ThemesZwangDomantysDomantixFriendster LayoutsMySpace LayoutsEmjeiNeuro Patch
Jordan CreekSocial Media BlogT-CribiSurferStar SurfaceSmoovrFriendster LoungeAustinitesEkekekThe Grey LadyEthanol ConsultantsPee Em WatsonSwiss Pilates Swiss Pilates OrgWorld NewsGirl Power BlogBB ProCIE-SLG. Smith & CoGreen BytesHonigimmoLisa SantanaMommy MayRichdale NewburyportSandy Alderson Veterinarians Without BordersWolfgang PuckCranes For PeaceTouchDHeaven ELSWHere Jeff's Loop Leopard O'Web Open Book Peace Project TuniTec

Powered by Article Dashboard