A junior Linux administrator is installing patches using YUM. The administrator issues the following command: yum list installed
The output of the command is as follows:
Given this scenario and the output, which of the following should the administrator do to address this issue?
A. renice -n 9 -p 5180
B. killall yum
C. ps -ef | grep yum
D. top | grep yum
Question seems kind of tricky.
“Given this scenario and the output, which of the following should the administrator do to address this issue?”
I could possibly see how the answer could be ps -ef | grep yum. Just in the way they asked the question, but then I could also see it being killall yum.
I
Its gotta be Killall Yum because the process is shown in the question so lookin up the process using ps -ef | grep yum is pointless, top does the same or fails, and renice raising priority levels wont solve the issue. So Killall Yum is the only sensical answer.
“ps -ef | grep yum” will just list the processes. it doesn’t resolve the issue? I would do “killall yum”, so that the process is terminated