Linux Kill Process Signals

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/33

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:42 PM on 9/22/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

34 Terms

1
New cards

SIGHUP

hangup - this is sent to a process when the terminal that controls it is closed

2
New cards

SIGINT

interrupt - sent when a user presses [Ctrl] + C in the controlling terminal to interrupt a process

3
New cards

SIGQUIT

quit - sent when a user presses [Ctrl] + D to quit

4
New cards

SIGKILL

kill - immediately kill a process with no clean-up operations

5
New cards

SIGTERM

terminate - program termination

6
New cards

SIGSTOP

Stop the program. It cannot be handled anymore.

7
New cards

SIGTSTP

temporary stop - sent when a user presses [Ctrl] + Z to request for a service to suspend. The user can handle it afterward

8
New cards

what’s the syntax for sending a <signal> to a process?

9
New cards

SIGILL

illegal instruction - triggered when a process attempts to execute an invalid, unknown, or privileged CPU instruction.

10
New cards

SIGTRAP

breakpoint trap / trace - used by debuggers (like gdb) to pause a program at a specific point

11
New cards

SIGABRT

abort - sent by the process itself when it calls the abort() function, usually due to a critical software failure or failed assertion

12
New cards

SIGBUS

bus error - indicates a hardware-level memory access error, such as misaligned memory access or referencing non-existent physical space

13
New cards

SIGFPE

floating-point exception - triggered by erroneous arithmetic operations like division by zero or arithmetic overflow

14
New cards

SIGUSR1

user-defined signal 1 - left entirely to developers to define custom behaviors within their programs

15
New cards

SIGSEGV

segmentation fault - triggered when a program attempts to access a memory location it is not allowed to (e.g., dereferencing a null pointer)

16
New cards

SIGUSR2

user-defined signal 2 - the second custom-purpose signal available for applications

17
New cards

SIGPIPE

broken pipe - sent to a process trying to write data to a pipe or socket that has already been closed by the reader on the other end

18
New cards

SIGALRM

alarm clock - sent when a timer set by the alarm() system call expires; used for time-outs

19
New cards

SIGSTKFLT

stack fault - historically used for coprocessor stack faults on older architectures; rarely used on modern systems

20
New cards

SIGCHLD

child status changed - sent to a parent process whenever one of its child processes terminates, stops, or resumes

21
New cards

SIGCONT

continue - instructs a process to resume execution if it was previously paused by a stop signal

22
New cards

SIGTTIN

“attempted terminal input” background read - sent to a background process if it attempts to read input from its controlling terminal

23
New cards

SIGTTOU

“attempted terminal output” background write - sent to a background process if it attempts to write output to its controlling terminal

24
New cards

SIGURG

urgent data - sent when urgent or out-of-band data is available on a network socket

25
New cards

SIGXCPU

exceeded CPU time limit - sent when a process exceeds its maximum allowed CPU allocation

26
New cards

SIGXFSZ

exceeded file size limit - sent when a process attempts to grow a file beyond the maximum allowed limit

27
New cards

SIGVTALRM

virtual alarm/timer expired - sent when a virtual timer expires (measuring only CPU time used by the process)

28
New cards

SIGPROF

profiling timer expired - sent when a profiling timer expires (measuring both process CPU time and system CPU time)

29
New cards

SIGWINCH

window change/resize - sent to a foreground terminal process when the size of its terminal window changes

30
New cards

SIGIO (SIGPOLL)

I/O possible - sent when a file descriptor is ready for input or output operations

31
New cards

SIGPWR

power failure - sent by power management systems to indicate a power loss or UPS battery event, signaling the system to save data and shut down

32
New cards

SIGSYS

bad system call - sent when a program passes an invalid or unimplemented argument to a system call

33
New cards

Signals 34 - 64

Real-Time Signals - no standard system meanings; reserved entirely for custom, application-level signaling

34-49: SIGRTMIN to SIGRTMIN+15

50-64: SIGRTMAX-14 to SIGRTMAX

34
New cards

Signals 1 - 31

Standard Signals