Linux
Basic Linux/Unix Commands with Examples & Syntax
File Management becomes easy if you know the right commands. Sometimes, commands are also referred as...
Process is the execution of a program that performs the actions specified in that program. It can be defined as an execution unit where a program runs. The OS helps you to create, schedule, and terminates the processes which is used by CPU. A process created by the main process is called a child process.
Process operations can be easily controlled with the help of PCB(Process Control Block). You can consider it as the brain of the process, which contains all the crucial information related to processing like process id, priority, state, CPU registers, etc.
In this Operating system tutorial, you will learn:
Process management involves various tasks like creation, scheduling, termination of processes, and a dead lock. Process is a program that is under execution, which is an important part of modern-day operating systems. The OS must allocate resources that enable processes to share and exchange information. It also protects the resources of each process from other methods and allows synchronization among processes.
It is the job of OS to manage all the running processes of the system. It handles operations by performing tasks like process scheduling and such as resource allocation.
Here, is an Architecture diagram of the Process
The PCB is a full form of Process Control Block. It is a data structure that is maintained by the Operating System for every process. The PCB should be identified by an integer Process ID (PID). It helps you to store all the information required to keep track of all the running processes.
It is also accountable for storing the contents of processor registers. These are saved when the process moves from the running state and then returns back to it. The information is quickly updated in the PCB by the OS as soon as the process makes the state transition.
A process state is a condition of the process at a specific instant of time. It also defines the current position of the process.
There are mainly seven stages of a process which are:
After completing every step, all the resources are used by a process, and memory becomes free.
Every process is represented in the operating system by a process control block, which is also called a task control block.
Here, are important components of PCB
File Management becomes easy if you know the right commands. Sometimes, commands are also referred as...
$20.20 $9.99 for today 4.5 (119 ratings) Key Highlights of Linux Tutorial PDF 186+ pages eBook...
What is CI? Continuous integration is a software development method where members of the team can...
In this tutorial of difference between AR and VR, we will discuss the key difference between...
What is DevOps? DevOps is a collaboration between Development and IT Operations to make software...
Before learning about SDRAM and DRAM first, we need to understand about the RAM What is RAM? The...