Unix First Process Called Init Others Descendants Init Init Process Spawns Sshd Process D Q37052995

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


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.