TIL
USR2 kill signal in Linux
- 1 minutes read - 104 wordsI have used many signals with kill
like SIGHUP
, SIGKILL
etc. Today I came across USR2
.
Did a Google search and found the manual page from GNU. According to it,
These signals are used for various other purposes. In general, they will not affect your program unless it explicitly uses them for something.
Another one from the BSD mailing list
USR2 is a "user defined signal" (from "man signal")
It doesn't "mean" anything by definition. Each application is free to define its meaning as it sees fit. It's there specifically so that applications can use signals for special purposes without reusing the defined signals.