SIGTSTP

SIGTSTP

Ein Signal ist eine Systemnachricht an einen laufenden Prozess. Signale sind eine primitive Form von Interprozesskommunikation. Die meisten Signale bewirken auch eine Aktion – meist das Beenden des Prozesses. Andere hingegen dienen lediglich der Information (z. B. SIGWINCH) oder können einen Prozess anhalten (SIGSTOP). Es gibt auch vom Benutzer frei verwendbare Signale (SIGUSR1 und SIGUSR2). Einige Signale können vom Prozess abgefangen oder unterdrückt werden. So fangen z. B. manche Serverprogramme (im Unix-Jargon „Daemon“) SIGUSR1 oder SIGUSR2 ab und lesen dann ihre Konfigurationsdateien neu aus.

Gängige UNIX-Signale

Im folgenden ist eine Auflistung der üblichen Signale mit deren Nummern. Die unterstützten Signale und deren Werte können sich aber von System zu System unterscheiden. Der POSIX.1-Standard sieht hierbei unterschiedliche numerische Werte abhängig von der verwendeten Hardwarearchitektur vor.

Signal Wert Bedeutung Standard
SIGHUP 1 Hangup POSIX
SIGINT 2 Interrupt ANSI
SIGQUIT 3 Quit POSIX
SIGILL 4 Illegal instruction ANSI
SIGTRAP 5 Trace trap POSIX
SIGABRT 6 Abort ANSI
SIGIOT 6 IOT trap 4.2 BSD
SIGBUS 7 BUS error 4.2 BSD
SIGFPE 8 Floating-point exception ANSI
SIGKILL 9 Kill, unblockable POSIX
SIGUSR1 10 User-defined signal 1 POSIX
SIGSEGV 11 Segmentation violation ANSI
SIGUSR2 12 User-defined signal 2 POSIX
SIGPIPE 13 Broken pipe POSIX
SIGALRM 14 Alarm clock POSIX
SIGTERM 15 Termination ANSI
SIGSTKFLT 16 Stack fault
SIGCLD 17 Same as SIGCHLD System V
SIGCHLD 17 Child status has changed POSIX
SIGCONT 18 Continue POSIX
SIGSTOP 19 Stop, unblockable POSIX
SIGTSTP 20 Keyboard stop POSIX
SIGTTIN 21 Background read from tty POSIX
SIGTTOU 22 Background write to tty POSIX
SIGURG 23 Urgent condition on socket 4.2 BSD
SIGXCPU 24 CPU limit exceeded 4.2 BSD
SIGXFSZ 25 File size limit exceeded 4.2 BSD
SIGVTALRM 26 Virtual alarm clock 4.2 BSD
SIGPROF 27 Profiling alarm clock 4.2 BSD
SIGWINCH 28 Window size change 4.3 BSD, Sun
SIGPOLL SIGIO Pollable event occurred System V
SIGIO 29 I/O now possible 4.2 BSD
SIGPWR 30 Power failure restart System V
SIGSYS 31 Bad system call
SIGUNUSED 31

Siehe auch

Das Unix-Kommando kill kann verwendet werden, um beliebige Signale unter Unix zu senden.

Weblinks


Wikimedia Foundation.

Игры ⚽ Поможем написать курсовую

Schlagen Sie auch in anderen Wörterbüchern nach:

  • SIGTSTP — Описание: Сигнал приостановки процесса c терминала По умолчанию: приостановить выполнение процесса коды SA SIGINFO (не имеет специфических кодов) В POSIX системах, SIGTSTP  сигнал, посылаемый c терминала для приостановки выполнения… …   Википедия

  • SIGTSTP — Infobox Computing signal description = Terminal stop signal action = Suspends the processOn POSIX compliant platforms, SIGTSTP is the signal sent to a computer program by its controlling terminal when the user requests that it be suspended. The… …   Wikipedia

  • SIGTSTP — Terminal Signal zum Prozesshalt unter X/Open und BSD UNIX wird normalerweise von CONTROL Z erzeugt ( >xedit /usr/include/signal.h) …   Acronyms

  • SIGTSTP — Terminal Signal zum Prozesshalt unter X/Open und BSD UNIX wird normalerweise von CONTROL Z erzeugt ( >xedit /usr/include/signal.h) …   Acronyms von A bis Z

  • TTY-абстракция — Стиль этой статьи неэнциклопедичен или нарушает нормы русского языка. Статью следует исправить согласно стилистическим правилам Википедии. У этого термина существуют и другие значения, см. Tty. Подсистема TTY, или TTY абстракция  это одна из …   Википедия

  • Signal (computing) — A signal is a limited form of inter process communication used in Unix, Unix like, and other POSIX compliant operating systems. Essentially it is an asynchronous notification sent to a process in order to notify it of an event that occurred. When …   Wikipedia

  • Control-Z — In computing, Control+Z is a control character in ASCII code, also known as the substitute (SUB) character or a keyboard shortcut. Strictly speaking …   Wikipedia

  • Kill (Unix) — kill (engl. töten) ist ein Unix Kommando und gleichnamiger Systemaufruf, um unter dem Betriebssystem laufenden Prozessen Signale zu schicken. Standardmäßig wird dabei das Signal SIGTERM versendet, welches den entsprechenden Prozess dazu… …   Deutsch Wikipedia

  • Señal (informática) — Una señal (signal) es una forma limitada de comunicación entre procesos empleada en Unix y otros sistemas operativos compatibles con POSIX. En esencia es una notificación asíncrona enviada a un proceso para informarle de un evento. Cuando se le… …   Wikipedia Español

  • Сигналы (UNIX) — У этого термина существуют и другие значения, см. Сигнал (значения). Сигналы в UNIX, Unix подобных и других POSIX совместимых операционных системах являются одним из способов взаимодействия между процессами (англ. IPC, inter process… …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”