Process <ul><li>A Process includes </li></ul><ul><ul><li>A program in execution </li></ul></ul><ul><ul><li>An instance of ...
Process Control Block <ul><li>Each process in operating System is represented by a process control block. It is also calle...
Program Counter Pointer Priority Process Status I/O Status Information Context Data Accounting Information ……… . ……… Regis...
Pointer <ul><li>Pointer </li></ul><ul><ul><li>A unique pointer associated with this process to distinguish it from all oth...
<ul><li>Program Counter </li></ul><ul><ul><li>The counter indicates the address of the next address of the next address  <...
<ul><li>Context Data </li></ul><ul><ul><li>These are data that are present in registers in the processor  while the proces...
Process State <ul><li>The State of a process is defined in part by the current activity of that process. As a process exec...
New Ready Waiting Running Terminated Interrupt Scheduler Dispatch exit admitted I/O or event wait I/O  or event completion
<ul><li>New </li></ul><ul><ul><li>The process is being created </li></ul></ul><ul><li>Running </li></ul><ul><ul><li>Instru...
Sumant Kumar Diwakar Web Designer
Upcoming SlideShare
Loading in …5
×

Process concept

1,255 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,255
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
30
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Process concept

  1. 2. Process <ul><li>A Process includes </li></ul><ul><ul><li>A program in execution </li></ul></ul><ul><ul><li>An instance of a program running on a computer </li></ul></ul><ul><ul><li>The entity that can be assigned to and executed on a processor </li></ul></ul><ul><ul><li>A unit of activity characterized by the execution of a sequence of instructions a current state and an associated set of system resources </li></ul></ul>
  2. 3. Process Control Block <ul><li>Each process in operating System is represented by a process control block. It is also called task control block. It contains many pieces of information associated with a specific process- </li></ul>
  3. 4. Program Counter Pointer Priority Process Status I/O Status Information Context Data Accounting Information ……… . ……… Registers Process Control Block
  4. 5. Pointer <ul><li>Pointer </li></ul><ul><ul><li>A unique pointer associated with this process to distinguish it from all other processes. </li></ul></ul><ul><li>Process Status </li></ul><ul><ul><li>The state may be new, ready, running waiting, halted and so on… </li></ul></ul><ul><li>Priority </li></ul><ul><ul><li>Priority level relative to other processes </li></ul></ul>
  5. 6. <ul><li>Program Counter </li></ul><ul><ul><li>The counter indicates the address of the next address of the next address </li></ul></ul><ul><li>Registers </li></ul><ul><ul><li>The registers vary in number and type depending on the computer architecture. It include accumulators, index registers, stack pointers and general purpose registers. </li></ul></ul>
  6. 7. <ul><li>Context Data </li></ul><ul><ul><li>These are data that are present in registers in the processor while the process is executing </li></ul></ul><ul><li>I/O Status Information </li></ul><ul><ul><li>The information includes the list of I/O devices allocated to this process, a list of open files and so on. </li></ul></ul><ul><li>Accounting Information </li></ul><ul><ul><li>This information includes the amount of CPU and real time used, time limits, account numbers, job or process numbers and so on. </li></ul></ul>
  7. 8. Process State <ul><li>The State of a process is defined in part by the current activity of that process. As a process executes it changes states. Each process may be in one of the following state </li></ul>
  8. 9. New Ready Waiting Running Terminated Interrupt Scheduler Dispatch exit admitted I/O or event wait I/O or event completion
  9. 10. <ul><li>New </li></ul><ul><ul><li>The process is being created </li></ul></ul><ul><li>Running </li></ul><ul><ul><li>Instructions are being executed </li></ul></ul><ul><li>Waiting </li></ul><ul><ul><li>The process is waiting for some event to occur like I/O operation etc. </li></ul></ul><ul><li>Ready </li></ul><ul><ul><li>The process is waiting to be assigned to a processor </li></ul></ul><ul><li>Terminated </li></ul><ul><ul><li>The process has finished execution </li></ul></ul>
  10. 11. Sumant Kumar Diwakar Web Designer

×