Osy MP
Osy MP
Osy MP
MUMBAI
A
Micro Project
On
PROCESS MANAGEMENT SYSTEM
For the requirements of partial fulfillment curriculum of
DIPLOMA
In
COMPUTER ENGINEERING
Submitted by
PROF.R. B. MORE
DEPARTMENT OF COMPUTER ENGINEERING
SANT GAJANAN MAHARAJ RURAL POLYTECHNIC, MAHAGAON
ACADEMIC YEAR 2022-23
SANT GAJANAN MAHARAJ RURAL HOSPITAL &RESEARCH CENTER, MAHAGAON
Certificate
This is to that the following students of 5th Semester of Diploma in Computer Engineering of
Institute SANT GAJANAN MAHARAJ RURAL POLYTECHNIC, MAHAGAON-416502.
(CODE-0965) has completed Micro project on PRECESS MANAGEMENT SYSTEM
satisfactory in subject “OSY” subject code 22516 for academic year 2022 to 2023 as
prescribed
In the curriculum.
ROLL NO ENROLLMENT NO SEAT NO STUDENT NAME
2. Micro-project-Annexure-II 4-10
1. Rationale
Process management is one of the important in Operating System. It is necessary to study
the details of process management.
3. Literature Review
Process management involves tasks related to processing like creation, scheduling, termination,
deadlock, etc. The operating systems allocate resources that allow the process to exchange
information. It synchronies among processes and safeguards the resources of other processes.
4. Proposed Methodology
To collect information related to the title of the micro-project from internet resource
websites = www.javatpoint.com ,www.geeksforgeeks.com www.tutorilalspoint.com
To organize the information collected as per micro project format.
Distribute the task for typing to team members.
4
1. Action Plan
Process Process
Name of
Sr. Details of activity started Finis
group
No date h members
date
To collect information Pratiksha Jadhav
1.
related to the title of
micro-project.
To meet the subject Priyanka
Teacher and taking the Huchgond
2. guidelines about this
Topic.
Searching the information Pratiksha
Mokashi
related to the topic of project.
3.
We organize information Sakshi Shinde
collected as per project
4. format.
We distribute the task for typing Pratiksha
Jadhav,Sakshi
of team members
Shinde
5.
Starts the procedure for project. Pratiksha
And making a soft copy of Mokashi,Priya
nka Huchgoof
6. project report. teamnd
Then show the soft copy of Pratiksha
Jadhav,Pratiksha
project report to the subject
Mokashi,sakshi
teacher and then we do the shinde,priyanka
Huchagond
corrections teacher's shows
7. in the report.
5
Then we submitted the Pratiksha
Jadhav,
hardcopy of the project
Pratiksha
Report to subject teacher. Mokashi
8.
6
5. Resources Required(major resources like material, tools ,software ,etc.)
Name of Resource/
Sr. Specification Qty Remarks
Material
No.
i3,4GBRAM,500GBHDD,
1 Desktop PC, Used
LCD screen ,KBD, Mouse 1
2 Internet Connection Browser Google chrome 1 Used
MS-Office (MS-word,
3 Software 1 Used
MS-Excel, MS-
PowerPoint)
1.0 Rationale
Process management is one of the important in os. It is necessary to study the details
of process management.
What is a Process?
Process: 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.
What is Process Management?
A Program does nothing unless its instructions are executed by a CPU. A program in
execution is called a process. In order to accomplish its task, process needs the computer
resources. There may exist more than one process in the system which may require the
same resource at the same time. Therefore, the operating system has to manage all the
processes and the resources in a convenient and efficient way. Some resources may need
to be executed by one process at one time to maintain the consistency otherwise the
system can become inconsistent and deadlock may occur. The operating system is
responsible for the following activities in connection with Process Management System.
Process States:
When a process executes, it passes throught different state.These stages may differ in
different operating system, In general, a process can have one of the following five states
at a time.
SR. State & Description
NO.
1 Start: This is the initial state when a process is first started/created.
Ready: The process is waiting to be assigned to a processor. Ready
2 processes are waiting to have the processor allocated to them by the
operating system so that they can run. Process may come into this state
after Start state or while running it by but interrupted by the scheduler to
assign CPU to some other process.
3 Running: Once the process has been assigned to a processor by the OS
scheduler, the process state is set to running and the processor executes
its instructions.
4 Waiting: Process moves into the waiting state if it needs to wait for are
source, such as waiting for user input, or waiting for a file to become
available.
Terminated or Exit: Once the process finishes its execution, or it is
5 terminated by the operating system, it is moved to the terminated state
where it waits to be removed from main memory.
A Process Control Block is structure maintained by the Operating System for every
process.
The PCB is identified by an integer process ID(PID).
APCBkeepsalltheinformationneededtokeeptrackofaprocessaslistedbelowinthetable–
3 Process ID: Unique id entification for each of the process in the operating
system.
4 Pointer: A pointer to parent process.
6 CPU registers: Various CPU registers where process need to be stored for
execution for running state.
9 Accountinginformation:ThisincludestheamountofCPUusedforprocessexecution,
time limits, execution ID etc.
Out of the many processes present in the ready queue, the Operating system chooses one
process and start executing it. Selecting the process which is to be executed next, is known
as scheduling.
Deletion/killing:
Once the purpose of the process gets over then the OS will kill the process. The Context of
the process (PCB) will be deleted and the process gets terminated by the Operating system.
Process Schedulers:
Operating system uses various schedulers for the process scheduling described below.
Long term scheduler is also known as job scheduler. It chooses the processes from the pool
(secondary memory) and keeps them in the ready queue maintained in the primary memory.
Long Term scheduler mainly controls the degree of Multiprogramming. The purpose of long
term scheduler is to choose a perfect mix of IO bound and CPU bound processes among the
jobs present in the pool.
If the job scheduler chooses more IO bound processes then all of the jobs may reside in the
blocked state all the time and the CPU will remain idle most of the time. This will reduce the
degree of Multiprogramming. Therefore, the Job of long term scheduler is very critical and
may affect the system for a very long time.
Medium term scheduler is used for this purpose. It removes the process from the running
state to make room for the other processes. Such processes are the swapped out processes
and this procedure is called swapping. The medium term scheduler is responsible for
suspending and resuming the processes.
It reduces the degree of multiprogramming. The swapping is necessary to have a perfect mix
of processes in the ready queue.
Burst Time(BT):
The total amount of time required by the CPU to execute the whole process is called the
Burst Time. This does not include the waiting time. It is confusing to calculate the
execution time for a process even before executing it hence the scheduling problems based
on the burst time cannot be implemented in reality.
Completion Time(CT):
The Time at which the process enters into the completion state or the time at which the
process completes its execution, is called completion time.
Turnaround Time(TAT):
The total amount of time spent by the process from its arrival to its completion, is called
Turnaround time.
Waiting Time(WT):
The Total amount of time for which the process waits for the CPU to be assigned is called
waiting time.
Response Time(RT):
The difference between the arrival time and the time at which the process first gets the CPU
is called Response Time.Advantages of Process Management System
1) There are various advantages of the Process Management System. Some of them are as follows:
2) Increase efficiency
3) Reduce costs.
4) Improve quality
5) Reduce times and thus reduce the production and delivery times of the services.
1) There are various disadvantages of the Process Management System. Some of them are
as follows:
2) Commitment to results versus compliance
3) Processes and clients in front of departments and heads.
Name of Resource/
Sr.No. Specification Qty Remarks
Material
Used
Inteli3,4GB RAM,500GBHDD,LCD 1
1 Desktop PC Screen ,KBD, Mouse
Browser Google chrome 1 Used
2 Internet Connection
MS-Office (MS-word, MS-Excel, MS-Power Use
point)
3 Software d
8.0 References-
https://www.javatpoint.com/process-management-in-os
https://www.naukri.com/learning/articles/process-management-in-operating-system/