Exam GSEC All QuestionsBrowse all questions from this exam
Question 57

You work as a Network Administrator for Tech Perfect Inc. The company has a Linux-based network. You want to kill a process running on a Linux server. Which of the following commands will you use to know the process identification number (PID) of the process?

    Correct Answer: B

    To find the process identification number (PID) of a process on a Linux server, the 'ps' command is used. This command provides a snapshot of the current processes along with their PIDs, resource usage, and other details. 'killall' and 'kill' commands are used to terminate processes, while 'getpid' is not a standard command for retrieving PID information in Linux.

Discussion
Kushgod69420Option: D

This is D

Kuku55

This is a trick question answer is ps

T0m

Answer is PS. Asking which command use to KNOW THE PROCESS