PrepAway - Latest Free Exam Questions & Answers

You wish to kill a process with a PID of 123. Select the command which exiting.

You wish to kill a process with a PID of 123. Select the command which exiting.

PrepAway - Latest Free Exam Questions & Answers

A.
kill-9 123

B.
kill-17 123

C.
kill-1 123

D.
kill-15 123

Explanation:
To terminate the process we use kill command. But we should know the process ID. In questions PID is specified to 123.
Syntax of kill command is: kill signal PID Where -9 is the powerful signal then other signal which kill the process.

2 Comments on “You wish to kill a process with a PID of 123. Select the command which exiting.

  1. apark says:

    It must soft kill.
    Number Name Description Used for
    0 SIGNULL Null Check access to pid
    1 SIGHUP Hangup Terminate; can be trapped
    2 SIGINT Interrupt Terminate; can be trapped
    3 SIGQUIT Quit Terminate with core dump; can be
    9 SIGKILL Kill Forced termination; cannot be trapped
    15 SIGTERM Terminate Terminate; can be trapped
    24 SIGSTOP Stop Pause the process; cannot be trapped
    25 SIGTSTP Terminal stop Pause the process; can be
    26 SIGCONT Continue Run a stopped process




    0



    0

Leave a Reply