This code was developed as part of my CINF 301: Operating Systems class. It is an extension of the XV6 operating system, which served as the base. The goal was to add additional functionality to the existing system.
-
fork0.c- Print your ownPID -
fork1.c- Fork a child- If child: Print
msgand sleepntime - if parent, wait on child then print
msg
- If child: Print
-
fork2.c- Runls, then runlsagain -
fork3.c- Create a fork bomb -
fork4.c- Run program and args as specified on commands line- Measure how long program takes to run in terms of ticks