Signal is a very important part of Linux programming, this article will detail the basic concept of signal mechanism, the approximate realization method of Linux to signal mechanism, how to use signal, and several system calls about signal.Signal
A signal (signal) is a software interrupt that provides a way to handle asynchronous events and is the only asynchronous communication between processes. In a Linux system, the subsequent signaling mechanism is extended according to the POSIX
1. Daemon list
AMD: Automatic Installation of NFS (Network File System) Guard process apmd: Advanced Power governance arpwatch: record logs and build an ethernet address and IP address on the LAN interface to the database autofs: automatic
signal and its processing
signal processing is an event that UNIX and Linux systems generate in response to certain conditions, usually the kernel generates a signal, and the process receives a signal and takes action accordingly .For example,
A signal is a software interrupt, an asynchronous communication method that handles an asynchronous event. For example, we run the program in the terminal, by pressing the keyboard "CTRL + C", you can send a SIGINT interrupt signal to stop the
Signal (signals)A signal is a soft interrupt and is a method of handling asynchronous events. In general, the operating system supports many signals. In particular, UNIX, a more important application typically processes signals. UNIX defines a
Signal System Function calls provide a simple example. However, the C prototype Declaration makes it look more complex than the actual one. The signal function associates a given function with a specific signal. Here is the definition in FreeBSD
1. sighup SignalIn UNIX, the process organization structure is session. It contains one foreground process group and one or more background process groups. A process group contains multiple processes. A session may have a session first process, and
From: http://www.dbafree.net /? P = 870
We can use kill-L to view all the semaphore interpretations, but we cannot see the signal 0 interpretations.
[root@testdb~]# kill -l 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.