SIGUSR1 Signal Explained (Signal 10)
What the Linux SIGUSR1 signal does and when it's used.
Published October 23, 2026
SIGUSR1 (signal 10) is a user-defined signal with no fixed meaning. Applications choose what it does, such as reopening logs or dumping stats.
What it does
Default action: Terminate (unless handled). It can be caught with a signal handler.
Typically sent by: kill -USR1 PID. List all signals with kill -l.
Signal number and delivery
kill -l | grep SIGUSR1
10) SIGUSR1
kill -10 1234 # or kill -USR1 1234
(signal delivered to process 1234)
Practical examples
Send it from the shell
kill -10 <PID>
kill -SIGUSR1 <PID>
pkill -10 nginxHandle it in a script
trap 'echo got SIGUSR1; cleanup; exit' SIGUSR1
while true; do sleep 1; doneHandle it in code
import signal, sys
def handler(sig, frame):
print('received', sig)
sys.exit(0)
signal.signal(signal.SIGUSR1, handler)Common mistakes
- Using kill -9 before trying SIGTERM.
- Forgetting to find the right PID (ps aux | grep, pgrep).
- Not handling signals in long-running services.
Key takeaways
- SIGUSR1 is signal 10.
- Default: Terminate (unless handled).
- Use kill -l to list all signals.
FAQ
What do programs use it for?
Examples: Nginx reopens logs, Node enters inspector mode, dd prints progress.
How do I list all signals?
Run kill -l.