Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Construct a process tree similar to Figure 3.8. To obtain process information fo

ID: 3887928 • Letter: C

Question

Construct a process tree similar to Figure 3.8. To obtain process information for the Unix or Linux system, use the command 'ps -ael'. Use the command 'man ps' to get more information about the ps command. The task manager on Windows systems does not provide the parent process ID, but the process monitor tool, available from tech-net.microsoft.com, provides a process-tree tool. ( take screenshots of this information) init pid 1 ogin pid 8415 kthreadd pid 2 sshd pid 3028 bash pid 8416 khelper pid -6 pdflush pid 200 sshd pid 3610 emacs tcsch pid 400s pid 9298 pid 9204 Figure 3.8 A tree of processes on a typical Linux system.

Explanation / Answer

Following is the code for above scenario: