Bird
0
0

A script uses kill -SIGUSR1 $PID but the process does not respond. What could be the problem?

medium📝 Debug Q7 of 15
Linux CLI - Process Management
A script uses kill -SIGUSR1 $PID but the process does not respond. What could be the problem?
AThe process does not handle SIGUSR1 signal
BSIGUSR1 is not a valid signal
CThe kill command syntax is incorrect
DThe process is already terminated
Step-by-Step Solution
Solution:
  1. Step 1: Verify signal validity

    SIGUSR1 is a valid user-defined signal.
  2. Step 2: Check process signal handling

    If process ignores SIGUSR1, it won't respond.
  3. Step 3: Confirm kill syntax

    kill -SIGUSR1 $PID is correct syntax.
  4. Final Answer:

    The process does not handle SIGUSR1 signal -> Option A
  5. Quick Check:

    Process must handle signal to respond [OK]
Quick Trick: Process must handle signal to respond [OK]
Common Mistakes:
  • Assuming all signals cause termination
  • Thinking SIGUSR1 is invalid
  • Using wrong kill syntax

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes