Write a program to catch all signals sent to it and print out which signal was sent. Then issue a “kill –9” command to the process. How is SIGKILL different from the other signals?

What will be an ideal response?

This program will use the signal () system call to catch the signal and the signal handler will print
out a message containing the signal information and return. When you send this program a
SIGKILL (-9), you should find that your signal handler does not get called but the program simply
terminates.

Computer Science & Information Technology

You might also like to view...

Which of the following is NOT true about OneDrive for Business storage?

A) All files stored in OneDrive for Business are public unless you mark them as private. B) The Followed Documents link provides quick access to files throughout your organization's SharePoint sites and libraries. C) OneDrive for Business provides Quick Links to followed documents, documents shared with you, and recent documents. D) In order to access your OneDrive for Business storage, you must have a current account on a SharePoint server, SharePoint Online, or Office 365.

Computer Science & Information Technology

Most host management tasks performed by VMM are performed by which of the following?

A. Windows Command Processor B. Windows PowerShell C. Windows Management Instrumentation D. Windows Batch Process

Computer Science & Information Technology