nerdexam
Oracle

1Z0-821 · Question #76

You start to execute a program by using the following command: ~/bigscript & You then determine that the process is not behaving as expected, and decide that you need to terminate the process. Based…

The correct answer is A. 15163. From the output exhibit we can deduce that the shell has id 15156. It has spawned three subprocesses: The remaining 15163 must be the subshell (see note below). This is the id of the process which should be terminated. Note: The command ~/bigscript & starts ~/bigscript in a…

Managing System Processes and Scheduling Tasks

Question

You start to execute a program by using the following command:

~/bigscript & You then determine that the process is not behaving as expected, and decide that you need to terminate the process. Based on the information shown below, what is the process number you should terminate?

Exhibit

1Z0-821 question #76 exhibit

Options

  • A15163
  • B15156
  • C15166
  • D15165

How the community answered

(15 responses)
  • A
    80% (12)
  • B
    13% (2)
  • C
    7% (1)

Explanation

From the output exhibit we can deduce that the shell has id 15156. It has spawned three subprocesses: The remaining 15163 must be the subshell (see note below). This is the id of the process which should be terminated. Note: The command ~/bigscript & starts ~/bigscript in a separate subshell. Echo $ displays the exit status of a command.

Topics

#process management#background processes#PID#job control

Community Discussion

No community discussion yet for this question.

Full 1Z0-821 Practice