In Unix, the first process is called init. All the others aredescendants of “init”. The init process spawns a sshd process thatdetects a new secure ssh requested connection (WKPort 22). Upon anew connection, sshd spawns a login process that then loads a shellon it when a user successfully logs into the system. Now, assumethat the user types
who | grep <uwnetid> | wc –l
Draw a process tree from init to those three commands. Add fork,exec, wait, and pipe system calls between any two processesaffecting each other.
Solution
Please find the explanation for process tree and how its linkedto init process. Also
OR
OR