A system administrator is troubleshooting a hung application named app_service.exe on a Windows workstation. Working exclusively from an elevated Command Prompt, the administrator needs to identify the Process Identifier (PID) of the non-responsive process and then forcefully terminate it along with any child processes it launched. Which of the following commands should the administrator use to accomplish these tasks? (Select TWO.)
- tasklist /fi "imagename eq app_service.exe"Cevap
- taskkill /pid [PID] /f /tCevap
- Cps aux | grep app_service.exe
- Dresmon /kill /imagename app_service.exe
Cevap
The administrator should run 'tasklist /fi "imagename eq app_service.exe"' to identify the PID, followed by 'taskkill /pid [PID] /f /t' to terminate the process and its child processes.
To identify the process PID from the command line, the tasklist utility with the filter flag (/fi) is used to locate 'imagename eq app_service.exe'. To forcefully terminate that process along with all of its child processes, the taskkill command with the /pid flag, /f (force), and /t (tree) flags must be executed.
Adım Adım Çözüm
Anahtar Kavram
Identifying and terminating processes via Windows Command Line using TASKLIST and TASKKILL