Question

431 ne JU My B rd Co... (71) Making a 3D myFSCJ D 4- Topic Home Work Write detail answers to each of the following questions.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

SIGKILL: This kill signal is used to kill a running process. This will definitely kill the process.

SIGINT: This is the weakest signal among all other signals. This signal is used to stop the process and wait until user provide any input.

SIGTERM: This signal is normally used as a kill signal. It helps the process to exit cleanly.

SIGHUP: This signal works similar to SIGTERM but it has a specific role it will automatically send the process running in the terminal when user disconnects from the terminal.

SIGQUIT: This signal is the toughest of all the ignorable signal and this signal is used when the process is misbehaving and there is a requirement to kill it.

2) difference between each of the following signals:

SIGKILL is the most powerful signal and has the ability to kill any process running no matter in what condition the process in running.

SIGINT is considered weakest as already mentioned as it depends upon further user input, it makes the process goes to the halt state. This signal can be generated using CTRL + c key in the terminal.

SIGTERM is used to cleanly kill the process, the process may require time to free up the resources utilized and if it is critical application then it will ignore this signal.

SIGHUP is an involuntary signal which needs to be send explicitly, such that the process can try to save their state on the SIGHUP signal.

SIGQUIT is used to kill an misbehaving processes and while killing it will left a core dump file. The processes can set a handler and SIGQUIT is usually used when the problem is serious.

Add a comment
Know the answer?
Add Answer to:
431 ne JU My B rd Co... (71) Making a 3D myFSCJ D 4- Topic Home...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT