ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 279 - XK0-005 discussion

Report
Export

Due to performance issues on a server, a Linux administrator needs to termi-nate an unresponsive process. Which of the following commands should the administrator use to terminate the process immediately without waiting for a graceful shutdown?

A.
kill -SIGKILL 5545
Answers
A.
kill -SIGKILL 5545
B.
kill -SIGTERM 5545
Answers
B.
kill -SIGTERM 5545
C.
kill -SIGHUP 5545
Answers
C.
kill -SIGHUP 5545
D.
kill -SIGINT 5545
Answers
D.
kill -SIGINT 5545
Suggested answer: A

Explanation:

To terminate an unresponsive process immediately without waiting for a graceful shutdown, the administrator can use the commandkill -SIGKILL 5545(A). This will send a signal to the process with the PID 5545 that cannot be ignored or handled by the process, and force it to stop. The other commands will send different signals that may allow the process to perform some cleanup or termination actions, or may be ignored by the process.Reference:

[CompTIA Linux+ Study Guide], Chapter 6: Managing Processes, Section: Killing Processes

[How to Kill Processes in Linux]

asked 02/10/2024
J.L.M. van Loo
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first