Dana Vrajitoru
C151 Multi-User Operating Systems

C151 Lab 10

Due Date: Monday, April 5, 2021.

Ex. 1. This exercise is targetted specifically at our computers in the labs and if you do it at home on a local machine, things may not work as intended. You don't need to be physically in the lab, a remote connection through ssh is sufficient.

a. Create a file called lab10.txt with any editor you want and answer all the questions in this lab in it. Get the list of current processes with the command 'ps -Al'. Identify 3 different deamon processes, copy the lines for these processes to lab10.txt, and and make a guess as to their purpose.

b. Also based on this list, identify a process that you have been running (like ps itself) and from that, find the number associated with your username (UID). Write this in the file lab10.txt.

c. Using the command 'df', find out what file system the 'boot' partition is mounted on. What is this partition for? From the information you got by running this command, what does the combination of 4 numbers on the line for the 'home' file system represent?

d. Check the content of the file /etc/fstab. Based on its content, what other network partition beside /home is mounted on that computer? What would be its purpose?

e. Based on its content, what is the purpose of the file /etc/motd ? Have you seen some similar text before?

Upload to Canvas: The text file lab10.txt.