1.

Which signal is used with kill command to terminate the process when they ignore the SIGTERM signal (15)?(a) SIGTERM (16)(b) SIGTERM(0)(c) SIGKILL(9)(d) -dThe question was asked in a national level competition.Question is from Process Handling Commands topic in division The Process of Unix

Answer»

The correct answer is (c) SIGKILL(9)

The explanation: By default, the SIGTERM signal (15) is USED by the KILL command to terminate processes. But sometimes it may happen that some PROGRAMS ignore it and CONTINUE their execution normally. In such a case, the process can be killed by using SIGKILL signal (9). For example, to kill a job with PID 134 use the following command:



Discussion

No Comment Found

Related InterviewSolutions