You work as a Network Administrator for World Perfect Inc. The company has a Linux-based network. You have configured a Linux Web server on the network. A user complains that the Web server is not responding to requests. The process list on the server shows multiple instances of the HTTPD process. You are required to stop the Web service. Which of the following commands will you use to resolve the issue?
The killall command terminates multiple processes that are running with the same name. For example, killall httpd terminates all httpd
processes running on a Linux computer.
Answer option C is incorrect. The kill command terminates the specified process running on a Linux computer. The process identification
number (PID) is required to be issued with the command. Each process has a unique PID assigned by a Linux system. According to the
question, there are multiple instances of the HTTPD process running on the server. Hence, using the killall command is a better option than
kill.
Answer options D and B are incorrect. There are no such commands as end and endall for terminating the processes.
Currently there are no comments in this discussion, be the first to comment!