Menu

[Solved]Unix First Process Called Init Others Descendants Init Init Process Spawns Sshd Process D Q37100288

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.

Expert Answer


Answer to In Unix, the first process is called init. All the others are descendants of “init”. The init process spawns a sshd … . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *