CST 334 - Week 2
Hey everyone!
I am back with another update of this online journey of learning. This week, we spent time learning about processes, focusing on the fork method and how the operating system handles tasks. In our studies, we used Chapters 4 through 8 of OSTEP, which cover the concept of a process, process APIs, CPU scheduling, and advanced techniques like the Multi-Level Feedback Queue (MLFQ). Understanding fork was especially valuable because it’s a method that lets a process create a copy of itself. This is important for many programs that need to perform multiple tasks simultaneously, like running background processes while the main task continues. We also practice this method through the lab that our professor had prepared for us. It was really fun because the instructions were clear and we knew exactly what to do. She even gave us a starter code to understand how to use the method.
We also explored Linux and the bash shell, gaining practical skills with basic shell commands, utilities, and commands specifically for managing processes. Learning how to work with the shell and using commands like `ps` and `top` to view and manage running processes helps us see how processes are created, managed, and scheduled on an actual operating system. These tools make it easier to interact with processes directly and understand how the OS allocates CPU time, balancing resources efficiently.
That was about it for this week. I am excited to learn more as the weeks come! See you next time!
Comments
Post a Comment