SlideShare ist ein Scribd-Unternehmen logo
1 von 3
In this lesson, we will understand, we deal with the concept of process.

Process is the basic context within which the user requested activity is
serviced within operating system. In technical terms, a process comprises
of process stack and data section.

  - Process stack holds temporary data such as subroutine parameters,
     return addresses, and temporary variables.
  - Data section contains global variables
  - Process is a program in execution, and current activity is
     represented by value in program counter and contents of processor’s
     registers.

A process in OS is represented by a data structure called PCB, process
control block (also called task control block). Operating systems have to
ensure multi-tasking by the way scheduling the processes. During the
context switch, the running process is stopped and another process is given
a chance to run. OS copies the values from hardware registers to PCB, and
update the hardware registers with the values from PCB of new process.

                  Pointer             Process state
                              Process number
                             Program counter
                                 Registers
                              Memory limits
                             List of open files
                                 Other info
Figure: PCB Structure




PCBs define the current state of the OS. PCB contains the data of
following categories.

  - Process identification data – process id, parent process id, user id,
     user group id, …
  - Process state data – process state, content of CPU general purpose
     registers, program counter, CPU scheduling information, Memory
     management information


Program counter indicates address of the next instruction to be executed
in process. CPU Scheduling information consists of process priority,
pointers to scheduling queues, and other scheduling parameters. Memory
manage information consists of value of bases and limit registers, page
tables, segment tables depending on the memory system used by OS.
Process   part 1

Weitere ähnliche Inhalte

Was ist angesagt?

Basic concept of process
Basic concept of processBasic concept of process
Basic concept of processNabin Dahal
 
Process management os concept
Process management os conceptProcess management os concept
Process management os conceptpriyadeosarkar91
 
Memory and file system concepts
Memory and file system conceptsMemory and file system concepts
Memory and file system conceptsSatyendra Mohan
 
Unit 2 part 1(Process)
Unit 2 part 1(Process)Unit 2 part 1(Process)
Unit 2 part 1(Process)WajeehaBaig
 
Process and its related concept with problems.
Process and its related concept with problems.Process and its related concept with problems.
Process and its related concept with problems.Satyendra Mohan
 
Main memory os - prashant odhavani- 160920107003
Main memory   os - prashant odhavani- 160920107003Main memory   os - prashant odhavani- 160920107003
Main memory os - prashant odhavani- 160920107003Prashant odhavani
 
Computer memory management
Computer memory managementComputer memory management
Computer memory managementKumar
 

Was ist angesagt? (9)

Basic concept of process
Basic concept of processBasic concept of process
Basic concept of process
 
Process management os concept
Process management os conceptProcess management os concept
Process management os concept
 
Memory and file system concepts
Memory and file system conceptsMemory and file system concepts
Memory and file system concepts
 
Unit 2 part 1(Process)
Unit 2 part 1(Process)Unit 2 part 1(Process)
Unit 2 part 1(Process)
 
Process and its related concept with problems.
Process and its related concept with problems.Process and its related concept with problems.
Process and its related concept with problems.
 
Os
OsOs
Os
 
Main memory os - prashant odhavani- 160920107003
Main memory   os - prashant odhavani- 160920107003Main memory   os - prashant odhavani- 160920107003
Main memory os - prashant odhavani- 160920107003
 
Operating System
Operating SystemOperating System
Operating System
 
Computer memory management
Computer memory managementComputer memory management
Computer memory management
 

Andere mochten auch

Roadmaps... dreaded roadmaps (Product Camp Vancouver 2015)
Roadmaps... dreaded roadmaps (Product Camp Vancouver 2015)Roadmaps... dreaded roadmaps (Product Camp Vancouver 2015)
Roadmaps... dreaded roadmaps (Product Camp Vancouver 2015)Jan Carter
 
Microprocessor laboratory
Microprocessor laboratoryMicroprocessor laboratory
Microprocessor laboratorybinvid
 
Il ritorno dello stream (Social): come riattivare la vostra community dopo i ...
Il ritorno dello stream (Social): come riattivare la vostra community dopo i ...Il ritorno dello stream (Social): come riattivare la vostra community dopo i ...
Il ritorno dello stream (Social): come riattivare la vostra community dopo i ...Emanuela Zaccone
 
Brewing Social Media Reputation: le birre artigianali su Twitter (anteprima)
Brewing Social Media Reputation: le birre artigianali su Twitter (anteprima)Brewing Social Media Reputation: le birre artigianali su Twitter (anteprima)
Brewing Social Media Reputation: le birre artigianali su Twitter (anteprima)Emanuela Zaccone
 
Social TV e online video: 
trend e fenomenologia del second screen
Social TV e online video: 
trend e fenomenologia del second screenSocial TV e online video: 
trend e fenomenologia del second screen
Social TV e online video: 
trend e fenomenologia del second screenEmanuela Zaccone
 
DEALS, MAYORS E SOCIAL MEDIA: DAGLI STRUMENTI AL LOCAL MARKETING
DEALS, MAYORS E SOCIAL MEDIA: DAGLI STRUMENTI AL LOCAL MARKETINGDEALS, MAYORS E SOCIAL MEDIA: DAGLI STRUMENTI AL LOCAL MARKETING
DEALS, MAYORS E SOCIAL MEDIA: DAGLI STRUMENTI AL LOCAL MARKETINGEmanuela Zaccone
 

Andere mochten auch (8)

TAP
TAPTAP
TAP
 
Roadmaps... dreaded roadmaps (Product Camp Vancouver 2015)
Roadmaps... dreaded roadmaps (Product Camp Vancouver 2015)Roadmaps... dreaded roadmaps (Product Camp Vancouver 2015)
Roadmaps... dreaded roadmaps (Product Camp Vancouver 2015)
 
Key club newsletter 2.1
Key club newsletter 2.1Key club newsletter 2.1
Key club newsletter 2.1
 
Microprocessor laboratory
Microprocessor laboratoryMicroprocessor laboratory
Microprocessor laboratory
 
Il ritorno dello stream (Social): come riattivare la vostra community dopo i ...
Il ritorno dello stream (Social): come riattivare la vostra community dopo i ...Il ritorno dello stream (Social): come riattivare la vostra community dopo i ...
Il ritorno dello stream (Social): come riattivare la vostra community dopo i ...
 
Brewing Social Media Reputation: le birre artigianali su Twitter (anteprima)
Brewing Social Media Reputation: le birre artigianali su Twitter (anteprima)Brewing Social Media Reputation: le birre artigianali su Twitter (anteprima)
Brewing Social Media Reputation: le birre artigianali su Twitter (anteprima)
 
Social TV e online video: 
trend e fenomenologia del second screen
Social TV e online video: 
trend e fenomenologia del second screenSocial TV e online video: 
trend e fenomenologia del second screen
Social TV e online video: 
trend e fenomenologia del second screen
 
DEALS, MAYORS E SOCIAL MEDIA: DAGLI STRUMENTI AL LOCAL MARKETING
DEALS, MAYORS E SOCIAL MEDIA: DAGLI STRUMENTI AL LOCAL MARKETINGDEALS, MAYORS E SOCIAL MEDIA: DAGLI STRUMENTI AL LOCAL MARKETING
DEALS, MAYORS E SOCIAL MEDIA: DAGLI STRUMENTI AL LOCAL MARKETING
 

Ähnlich wie Process part 1

Processor organization & register organization
Processor organization & register organizationProcessor organization & register organization
Processor organization & register organizationGhanshyam Patel
 
When a process is listed in a queue- what information is actually stor.docx
When a process is listed in a queue- what information is actually stor.docxWhen a process is listed in a queue- what information is actually stor.docx
When a process is listed in a queue- what information is actually stor.docxSUKHI5
 
Operating System An operating system exploits the hardware resources.pdf
Operating System An operating system exploits the hardware resources.pdfOperating System An operating system exploits the hardware resources.pdf
Operating System An operating system exploits the hardware resources.pdfcomputer12s
 
Process Control Block.pptx
Process Control Block.pptxProcess Control Block.pptx
Process Control Block.pptxSayedAbdullah31
 
Processes in Operating System
Processes in Operating SystemProcesses in Operating System
Processes in Operating SystemArafat Hossan
 
Operating system || Chapter 3: Process
Operating system || Chapter 3: ProcessOperating system || Chapter 3: Process
Operating system || Chapter 3: ProcessAnkonGopalBanik
 
Design & Simulation of RISC Processor using Hyper Pipelining Technique
Design & Simulation of RISC Processor using Hyper Pipelining TechniqueDesign & Simulation of RISC Processor using Hyper Pipelining Technique
Design & Simulation of RISC Processor using Hyper Pipelining TechniqueIOSR Journals
 
OS_Unit II - Process Management_CATI.pptx
OS_Unit II - Process Management_CATI.pptxOS_Unit II - Process Management_CATI.pptx
OS_Unit II - Process Management_CATI.pptxGokhul2
 
The structure of process
The structure of processThe structure of process
The structure of processAbhaysinh Surve
 
OS_UNIT_2 Study Materials (1).docx
OS_UNIT_2 Study Materials (1).docxOS_UNIT_2 Study Materials (1).docx
OS_UNIT_2 Study Materials (1).docxGayathriRHICETCSESTA
 

Ähnlich wie Process part 1 (20)

Pcb
PcbPcb
Pcb
 
process control block
process control blockprocess control block
process control block
 
Processor organization & register organization
Processor organization & register organizationProcessor organization & register organization
Processor organization & register organization
 
The process states
The process statesThe process states
The process states
 
Various type of register
Various type of registerVarious type of register
Various type of register
 
When a process is listed in a queue- what information is actually stor.docx
When a process is listed in a queue- what information is actually stor.docxWhen a process is listed in a queue- what information is actually stor.docx
When a process is listed in a queue- what information is actually stor.docx
 
Process concept
Process conceptProcess concept
Process concept
 
UNIT - 3 PPT(Part- 1)_.pdf
UNIT - 3 PPT(Part- 1)_.pdfUNIT - 3 PPT(Part- 1)_.pdf
UNIT - 3 PPT(Part- 1)_.pdf
 
Operating System An operating system exploits the hardware resources.pdf
Operating System An operating system exploits the hardware resources.pdfOperating System An operating system exploits the hardware resources.pdf
Operating System An operating system exploits the hardware resources.pdf
 
Process Control Block.pptx
Process Control Block.pptxProcess Control Block.pptx
Process Control Block.pptx
 
Processes
ProcessesProcesses
Processes
 
Os
OsOs
Os
 
Processes in Operating System
Processes in Operating SystemProcesses in Operating System
Processes in Operating System
 
4 process
4 process4 process
4 process
 
Operating system || Chapter 3: Process
Operating system || Chapter 3: ProcessOperating system || Chapter 3: Process
Operating system || Chapter 3: Process
 
Chapter03
Chapter03Chapter03
Chapter03
 
Design & Simulation of RISC Processor using Hyper Pipelining Technique
Design & Simulation of RISC Processor using Hyper Pipelining TechniqueDesign & Simulation of RISC Processor using Hyper Pipelining Technique
Design & Simulation of RISC Processor using Hyper Pipelining Technique
 
OS_Unit II - Process Management_CATI.pptx
OS_Unit II - Process Management_CATI.pptxOS_Unit II - Process Management_CATI.pptx
OS_Unit II - Process Management_CATI.pptx
 
The structure of process
The structure of processThe structure of process
The structure of process
 
OS_UNIT_2 Study Materials (1).docx
OS_UNIT_2 Study Materials (1).docxOS_UNIT_2 Study Materials (1).docx
OS_UNIT_2 Study Materials (1).docx
 

Process part 1

  • 1. In this lesson, we will understand, we deal with the concept of process. Process is the basic context within which the user requested activity is serviced within operating system. In technical terms, a process comprises of process stack and data section. - Process stack holds temporary data such as subroutine parameters, return addresses, and temporary variables. - Data section contains global variables - Process is a program in execution, and current activity is represented by value in program counter and contents of processor’s registers. A process in OS is represented by a data structure called PCB, process control block (also called task control block). Operating systems have to ensure multi-tasking by the way scheduling the processes. During the context switch, the running process is stopped and another process is given a chance to run. OS copies the values from hardware registers to PCB, and update the hardware registers with the values from PCB of new process. Pointer Process state Process number Program counter Registers Memory limits List of open files Other info
  • 2. Figure: PCB Structure PCBs define the current state of the OS. PCB contains the data of following categories. - Process identification data – process id, parent process id, user id, user group id, … - Process state data – process state, content of CPU general purpose registers, program counter, CPU scheduling information, Memory management information Program counter indicates address of the next instruction to be executed in process. CPU Scheduling information consists of process priority, pointers to scheduling queues, and other scheduling parameters. Memory manage information consists of value of bases and limit registers, page tables, segment tables depending on the memory system used by OS.