SlideShare a Scribd company logo
PROCESS MANAGEMENT
By :
Birju Tank((141060753017)
IEEE Seminar on Operating System Programming
At: GTU PG SCHOOL,GANDHINAGAR
IEEE Papers Overview
 Paper:1 Process Management in Distribute
System [1] represents the how one process
executing step by step in Program and Distributed
Systems at initial stage.
 Paper:2 Developing Complex Systems -
Incorporating Human Variability into the Process
[2] represents the process with the comparison of
human variability.
 Paper:3 Dynamic Process Migration Framework
[3] represents the process migration from one
machine to other machine , basically work on the
Distributed Systems.
Contents
 IEEE Papers Overview
 What is Process?-Introduction
 Processes and Process Management
 Process Life Cycle
 Context Switching
 Process Control Block
 Scheduling
 Process Control and Process Handling Commands
 Advantages and Disadvantages
 Conclusion
 References
What is Process?
 A process is a program during execution.
o Program = static file (image) that contains code to execute
o Process = executing program = program + execution state.
 A process is the basic unit of execution in an operating system
o Each process has a number, its process identifier (pid).
 Different processes may run different instances of the same program
o E.g., my javac and your javac process both run the Java compiler
 At a minimum, process execution requires following resources:
o Memory to contain the program code and data
o A set of CPU registers to support execution
Process in Memory
(b, *p) - main
(a) - fun
heap (p)
(char[1000])
data (aa, buf)
text (code)
0
Process memory
Stack
Max
…
int aa;
char buf[1000];
void fun() {
int a;
…
}
main() {
int b;
char *p;
p = new char[1000];
fun();
}
Process and Process Management
 A program consists of code and data
 On running a program, the loader:
 reads and create the executable file
 sets up the process’s memory to contain the code & data from
executable
 pushes arguments on the stack
 sets the CPU registers properly & calls
 When Program starts running
main(args) {
initialize_java();
ret = main(args);
exit(ret)
}
We can say “process” is now running, When main() returns, OS
calls “exit()” which destroys the process and returns all resources
Process Life Cycle
• Processes are always either executing, waiting to execute or
blocked waiting for an event to occur
A pre-emptive scheduler will force a transition from running to ready. A
non-preemptive scheduler waits.
Cont..
 Process has an execution state
 ready: waiting to be assigned to CPU
 running: executing on the CPU
 waiting: waiting for an event, e.g. I/O
 Blocked: waiting for another process execution, e.g. I/o one,
sleep over
 The OS maintains a collection of process state s
 typically one queue for each state – e.g., ready, waiting, …
 each PCB is put onto a queue according to its current state
 as a process changes state, its PCB is unlinked from one queue,
and linked to another
 Process states are change in response to events – interrupts, traps
Process Creation and Termination
 Processes are created …
o When the system boots
o By the actions of another process (more later)
o By the actions of a user
o By the actions of a batch manager
 Processes terminate …
o Normally – exit
o An error due to process Blocking
o An error due to Exceptions
o Terminated (killed) by the actions a user or a process
Process Control Block
PCB
 Contains:
o Process Identification
o Processor State Information
o Process Control Information
 Attributes of Process Control Block : Process
Id(Pid) , Parent Process Id(ppid), Name, Priority,
Memory Description, Active File Description,
Register Save Area, I/O resource Description
Context Switching
 Context switch is the act of switching the CPU
from one process to another .
 Reasons for Context Switching
 Completion of a process
 Completion of the time slice/quantum
 Blocking call like I/O, Sleep call
 Interrupt Occurs / An exception occurs
Scheduling
 Scheduler invokes only due to system calls.
 Which process can enter running state?
 Criteria depends on
– CPU Utilization
– Throughput
– Turnaround time
– Waiting time
– Response time
 Scheduler loads context from top of the stack
Process Control and Process
Handling System Calls()
OS must include calls to enable special control of a process:
 Priority manipulation:
 nice(), which specifies base process priority (initial priority)
 Debugging support:
 ptrace(), allows a process to be put under control of
another process
 The other process can set breakpoints, e.g. registers
 Alarms and time:
 Sleep puts a process on a timer queue waiting for some
number of seconds, supporting an alarm functionality
Cont..
 Process Handling System Calls
1. getpid():Used to get process id
2. getppid():Used to get Parent Process id
3. exit():Used to exit and calls pending buffer
contents
4. fork():Used to create child Process
5. waitpid():Used to block parent process till the
completion of child process.
6. execl():Used to overwrites current address
space of child process
Advantages and Disadvantages
 Advantages:
 Multi-Programming and Time sharing
 You Can explore complex processing in to
sub-Processing
 Due to that your system became faster
 Disadvantages:
 Deadlock
 Poor overlaps of I/O and Cpu
Conclusion
 We conclude that It is possible to build a
simple mechanism that is sufficient to realize
downloading,
migration,Exceptionhandling,checkpointhag,e
mulation and debugging in between multiple
processes are running at time. And the real
time examples are media player , Laptops ,
Cpu , TV , Mobiles etc..
References
1. Sape J. Mullender " Process Management in a Distributed
Operating System ", Centre for Mathematics & Computer Science
Amsterdam and Computer Laboratory,Cambridge University
2. IEEEConference and Workshop on Engineering of Computer Based
Systems,”Developing Complex Systems -Incorporating Human
Variability into the Process “ 1997, by Stephanie M. White, Jerry M.
Owens, Computer Science and Management Engineering C.W.
Post Campus, Long Island University
3. International Conference of Information and Communication
Technology (ICoICT) 2013 IEEE on “Dynamic Process Migration
Framework” By Amirreza Zarrabi, Khairulmizam Samsudin and
Amin Ziaeiy Department of Computer and Communication Systems,
Faculty of Engineering,Universiti Putra Malaysia, 43400 UPM
Serdang, Selangor, Malaysia
4. http://en.wikipedia.org/wiki/Process_Management(Computing)
THANKING YOU!..
Any Question???

More Related Content

What's hot

Operating system services 9
Operating system services 9Operating system services 9
Operating system services 9myrajendra
 
Cpu scheduling in operating System.
Cpu scheduling in operating System.Cpu scheduling in operating System.
Cpu scheduling in operating System.
Ravi Kumar Patel
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating Systempriya_sinha02
 
Process scheduling
Process schedulingProcess scheduling
Process scheduling
Riya Choudhary
 
System calls
System callsSystem calls
System calls
Bernard Senam
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating systemtittuajay
 
Operating system 31 multiple processor scheduling
Operating system 31 multiple processor schedulingOperating system 31 multiple processor scheduling
Operating system 31 multiple processor scheduling
Vaibhav Khanna
 
How Operating system works.
How Operating system works. How Operating system works.
How Operating system works.
Fahad Farooq
 
Deadlock Prevention
Deadlock PreventionDeadlock Prevention
Deadlock Prevention
prachi mewara
 
Operating Systems Process Scheduling Algorithms
Operating Systems   Process Scheduling AlgorithmsOperating Systems   Process Scheduling Algorithms
Operating Systems Process Scheduling Algorithms
sathish sak
 
Process of operating system
Process of operating systemProcess of operating system
process control block
process control blockprocess control block
process control block
Vikas SHRIVASTAVA
 
MULTILEVEL QUEUE SCHEDULING
MULTILEVEL QUEUE SCHEDULINGMULTILEVEL QUEUE SCHEDULING
MULTILEVEL QUEUE SCHEDULING
garishma bhatia
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating System
Janki Shah
 
Operating systems system structures
Operating systems   system structuresOperating systems   system structures
Operating systems system structures
Mukesh Chinta
 
Management of I/O request & Communication among devices
Management of I/O request & Communication among devicesManagement of I/O request & Communication among devices
Management of I/O request & Communication among devices
Manish Halai
 
SCHEDULING ALGORITHMS
SCHEDULING ALGORITHMSSCHEDULING ALGORITHMS
SCHEDULING ALGORITHMS
Dhaval Sakhiya
 
Context switching
Context switchingContext switching
Context switching
DarakhshanNayyab
 
Memory management
Memory managementMemory management
Memory management
Vishal Singh
 

What's hot (20)

Operating system services 9
Operating system services 9Operating system services 9
Operating system services 9
 
Cpu scheduling in operating System.
Cpu scheduling in operating System.Cpu scheduling in operating System.
Cpu scheduling in operating System.
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating System
 
Process scheduling
Process schedulingProcess scheduling
Process scheduling
 
System calls
System callsSystem calls
System calls
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
 
Operating system 31 multiple processor scheduling
Operating system 31 multiple processor schedulingOperating system 31 multiple processor scheduling
Operating system 31 multiple processor scheduling
 
How Operating system works.
How Operating system works. How Operating system works.
How Operating system works.
 
Deadlock Prevention
Deadlock PreventionDeadlock Prevention
Deadlock Prevention
 
Operating Systems Process Scheduling Algorithms
Operating Systems   Process Scheduling AlgorithmsOperating Systems   Process Scheduling Algorithms
Operating Systems Process Scheduling Algorithms
 
Process of operating system
Process of operating systemProcess of operating system
Process of operating system
 
process control block
process control blockprocess control block
process control block
 
MULTILEVEL QUEUE SCHEDULING
MULTILEVEL QUEUE SCHEDULINGMULTILEVEL QUEUE SCHEDULING
MULTILEVEL QUEUE SCHEDULING
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating System
 
Operating systems system structures
Operating systems   system structuresOperating systems   system structures
Operating systems system structures
 
Management of I/O request & Communication among devices
Management of I/O request & Communication among devicesManagement of I/O request & Communication among devices
Management of I/O request & Communication among devices
 
operating system structure
operating system structureoperating system structure
operating system structure
 
SCHEDULING ALGORITHMS
SCHEDULING ALGORITHMSSCHEDULING ALGORITHMS
SCHEDULING ALGORITHMS
 
Context switching
Context switchingContext switching
Context switching
 
Memory management
Memory managementMemory management
Memory management
 

Viewers also liked

Organising - MANAGEMENT PROCESS
Organising - MANAGEMENT PROCESSOrganising - MANAGEMENT PROCESS
Organising - MANAGEMENT PROCESS
Ramasubramanian H (HRS)
 
Os presentation process
Os presentation processOs presentation process
Os presentation processNaseer Ahmad
 
Chapter 3 - Processes
Chapter 3 - ProcessesChapter 3 - Processes
Chapter 3 - Processes
Wayne Jones Jnr
 
Processes and threads
Processes and threadsProcesses and threads
Processes Control Block (Operating System)
Processes Control Block (Operating System)Processes Control Block (Operating System)
Processes Control Block (Operating System)Imdad Ullah
 
Memory management
Memory managementMemory management
Memory management
Muhammad Fayyaz
 
Introduction to Computers
Introduction to ComputersIntroduction to Computers
Introduction to ComputersSamudin Kassan
 

Viewers also liked (10)

Organising - MANAGEMENT PROCESS
Organising - MANAGEMENT PROCESSOrganising - MANAGEMENT PROCESS
Organising - MANAGEMENT PROCESS
 
Os presentation process
Os presentation processOs presentation process
Os presentation process
 
Chapter 3 - Processes
Chapter 3 - ProcessesChapter 3 - Processes
Chapter 3 - Processes
 
Lecture 5 process concept
Lecture 5   process conceptLecture 5   process concept
Lecture 5 process concept
 
Processes and threads
Processes and threadsProcesses and threads
Processes and threads
 
Processes Control Block (Operating System)
Processes Control Block (Operating System)Processes Control Block (Operating System)
Processes Control Block (Operating System)
 
Memory management
Memory managementMemory management
Memory management
 
Processes of management
Processes of managementProcesses of management
Processes of management
 
Memory management
Memory managementMemory management
Memory management
 
Introduction to Computers
Introduction to ComputersIntroduction to Computers
Introduction to Computers
 

Similar to Process management

Lecture_Slide_4.pptx
Lecture_Slide_4.pptxLecture_Slide_4.pptx
Lecture_Slide_4.pptx
DiptoRoy21
 
OS-Process.pdf
OS-Process.pdfOS-Process.pdf
OS-Process.pdf
Rakibul Rakib
 
Operating Systems Unit Two - Fourth Semester - Engineering
Operating Systems Unit Two - Fourth Semester - EngineeringOperating Systems Unit Two - Fourth Semester - Engineering
Operating Systems Unit Two - Fourth Semester - Engineering
Yogesh Santhan
 
Cs8493 unit 2
Cs8493 unit 2Cs8493 unit 2
Cs8493 unit 2
Kathirvel Ayyaswamy
 
OS (1).pptx
OS (1).pptxOS (1).pptx
OS (1).pptx
KumarMit2
 
UNIT-2-Process-Management.pdf
UNIT-2-Process-Management.pdfUNIT-2-Process-Management.pdf
UNIT-2-Process-Management.pdf
aakritii765
 
Operating System 3
Operating System 3Operating System 3
Operating System 3tech2click
 
Ch2_Processes_and_process_management_1.ppt
Ch2_Processes_and_process_management_1.pptCh2_Processes_and_process_management_1.ppt
Ch2_Processes_and_process_management_1.ppt
Mohammad Almuiet
 
OS_Unit_II_Ch3 Process and CPU Scheduling
OS_Unit_II_Ch3 Process and CPU SchedulingOS_Unit_II_Ch3 Process and CPU Scheduling
OS_Unit_II_Ch3 Process and CPU Scheduling
SDivya19
 
My ppt @ bec doms on process management
My ppt @ bec doms on process managementMy ppt @ bec doms on process management
My ppt @ bec doms on process management
Babasab Patil
 
My ppt @ bec doms on process management
My ppt @ bec doms on process managementMy ppt @ bec doms on process management
My ppt @ bec doms on process management
Babasab Patil
 
unit-2.pdf
unit-2.pdfunit-2.pdf
unit-2.pdf
071ROHETHSIT
 
Process
ProcessProcess
Operating Systems
Operating Systems Operating Systems
Operating Systems
Ziyauddin Shaik
 
Ch03- PROCESSES.ppt
Ch03- PROCESSES.pptCh03- PROCESSES.ppt
Ch03- PROCESSES.ppt
MeghaSharma474761
 
CH03.pdf
CH03.pdfCH03.pdf
CH03.pdf
ImranKhan880955
 
CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2
Kathirvel Ayyaswamy
 
Chapter 3.pdf
Chapter 3.pdfChapter 3.pdf
Chapter 3.pdf
HikaTariku
 
23565104 process-management(2)
23565104 process-management(2)23565104 process-management(2)
23565104 process-management(2)Anuj Malhotra
 
OS - Chapter # 3 for the development of os
OS - Chapter # 3 for the development of osOS - Chapter # 3 for the development of os
OS - Chapter # 3 for the development of os
TahaShahid18
 

Similar to Process management (20)

Lecture_Slide_4.pptx
Lecture_Slide_4.pptxLecture_Slide_4.pptx
Lecture_Slide_4.pptx
 
OS-Process.pdf
OS-Process.pdfOS-Process.pdf
OS-Process.pdf
 
Operating Systems Unit Two - Fourth Semester - Engineering
Operating Systems Unit Two - Fourth Semester - EngineeringOperating Systems Unit Two - Fourth Semester - Engineering
Operating Systems Unit Two - Fourth Semester - Engineering
 
Cs8493 unit 2
Cs8493 unit 2Cs8493 unit 2
Cs8493 unit 2
 
OS (1).pptx
OS (1).pptxOS (1).pptx
OS (1).pptx
 
UNIT-2-Process-Management.pdf
UNIT-2-Process-Management.pdfUNIT-2-Process-Management.pdf
UNIT-2-Process-Management.pdf
 
Operating System 3
Operating System 3Operating System 3
Operating System 3
 
Ch2_Processes_and_process_management_1.ppt
Ch2_Processes_and_process_management_1.pptCh2_Processes_and_process_management_1.ppt
Ch2_Processes_and_process_management_1.ppt
 
OS_Unit_II_Ch3 Process and CPU Scheduling
OS_Unit_II_Ch3 Process and CPU SchedulingOS_Unit_II_Ch3 Process and CPU Scheduling
OS_Unit_II_Ch3 Process and CPU Scheduling
 
My ppt @ bec doms on process management
My ppt @ bec doms on process managementMy ppt @ bec doms on process management
My ppt @ bec doms on process management
 
My ppt @ bec doms on process management
My ppt @ bec doms on process managementMy ppt @ bec doms on process management
My ppt @ bec doms on process management
 
unit-2.pdf
unit-2.pdfunit-2.pdf
unit-2.pdf
 
Process
ProcessProcess
Process
 
Operating Systems
Operating Systems Operating Systems
Operating Systems
 
Ch03- PROCESSES.ppt
Ch03- PROCESSES.pptCh03- PROCESSES.ppt
Ch03- PROCESSES.ppt
 
CH03.pdf
CH03.pdfCH03.pdf
CH03.pdf
 
CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2
 
Chapter 3.pdf
Chapter 3.pdfChapter 3.pdf
Chapter 3.pdf
 
23565104 process-management(2)
23565104 process-management(2)23565104 process-management(2)
23565104 process-management(2)
 
OS - Chapter # 3 for the development of os
OS - Chapter # 3 for the development of osOS - Chapter # 3 for the development of os
OS - Chapter # 3 for the development of os
 

More from Birju Tank

Database security
Database securityDatabase security
Database security
Birju Tank
 
Vulnerabilities in Android
Vulnerabilities in AndroidVulnerabilities in Android
Vulnerabilities in Android
Birju Tank
 
Blackhole Attck detection in AODV Protocol
Blackhole Attck detection in AODV ProtocolBlackhole Attck detection in AODV Protocol
Blackhole Attck detection in AODV Protocol
Birju Tank
 
5 g technology
5 g technology5 g technology
5 g technology
Birju Tank
 
Literature review report
Literature review reportLiterature review report
Literature review report
Birju Tank
 
Secure routing in DSR
Secure routing in DSRSecure routing in DSR
Secure routing in DSR
Birju Tank
 
J2ME Mobile app
J2ME Mobile appJ2ME Mobile app
J2ME Mobile app
Birju Tank
 
Android vs iOS encryption systems
Android vs iOS encryption systemsAndroid vs iOS encryption systems
Android vs iOS encryption systems
Birju Tank
 
Software prototyping
Software prototypingSoftware prototyping
Software prototyping
Birju Tank
 
Secure lab setup for cyber security
Secure lab setup for cyber securitySecure lab setup for cyber security
Secure lab setup for cyber security
Birju Tank
 
Data mining
Data miningData mining
Data mining
Birju Tank
 
Android operating system
Android operating systemAndroid operating system
Android operating system
Birju Tank
 
Virtualization
VirtualizationVirtualization
Virtualization
Birju Tank
 
Mobile Broadband Wireless Access
Mobile Broadband Wireless AccessMobile Broadband Wireless Access
Mobile Broadband Wireless AccessBirju Tank
 

More from Birju Tank (14)

Database security
Database securityDatabase security
Database security
 
Vulnerabilities in Android
Vulnerabilities in AndroidVulnerabilities in Android
Vulnerabilities in Android
 
Blackhole Attck detection in AODV Protocol
Blackhole Attck detection in AODV ProtocolBlackhole Attck detection in AODV Protocol
Blackhole Attck detection in AODV Protocol
 
5 g technology
5 g technology5 g technology
5 g technology
 
Literature review report
Literature review reportLiterature review report
Literature review report
 
Secure routing in DSR
Secure routing in DSRSecure routing in DSR
Secure routing in DSR
 
J2ME Mobile app
J2ME Mobile appJ2ME Mobile app
J2ME Mobile app
 
Android vs iOS encryption systems
Android vs iOS encryption systemsAndroid vs iOS encryption systems
Android vs iOS encryption systems
 
Software prototyping
Software prototypingSoftware prototyping
Software prototyping
 
Secure lab setup for cyber security
Secure lab setup for cyber securitySecure lab setup for cyber security
Secure lab setup for cyber security
 
Data mining
Data miningData mining
Data mining
 
Android operating system
Android operating systemAndroid operating system
Android operating system
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Mobile Broadband Wireless Access
Mobile Broadband Wireless AccessMobile Broadband Wireless Access
Mobile Broadband Wireless Access
 

Recently uploaded

ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 

Recently uploaded (20)

ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 

Process management

  • 1. PROCESS MANAGEMENT By : Birju Tank((141060753017) IEEE Seminar on Operating System Programming At: GTU PG SCHOOL,GANDHINAGAR
  • 2. IEEE Papers Overview  Paper:1 Process Management in Distribute System [1] represents the how one process executing step by step in Program and Distributed Systems at initial stage.  Paper:2 Developing Complex Systems - Incorporating Human Variability into the Process [2] represents the process with the comparison of human variability.  Paper:3 Dynamic Process Migration Framework [3] represents the process migration from one machine to other machine , basically work on the Distributed Systems.
  • 3. Contents  IEEE Papers Overview  What is Process?-Introduction  Processes and Process Management  Process Life Cycle  Context Switching  Process Control Block  Scheduling  Process Control and Process Handling Commands  Advantages and Disadvantages  Conclusion  References
  • 4. What is Process?  A process is a program during execution. o Program = static file (image) that contains code to execute o Process = executing program = program + execution state.  A process is the basic unit of execution in an operating system o Each process has a number, its process identifier (pid).  Different processes may run different instances of the same program o E.g., my javac and your javac process both run the Java compiler  At a minimum, process execution requires following resources: o Memory to contain the program code and data o A set of CPU registers to support execution
  • 5. Process in Memory (b, *p) - main (a) - fun heap (p) (char[1000]) data (aa, buf) text (code) 0 Process memory Stack Max … int aa; char buf[1000]; void fun() { int a; … } main() { int b; char *p; p = new char[1000]; fun(); }
  • 6. Process and Process Management  A program consists of code and data  On running a program, the loader:  reads and create the executable file  sets up the process’s memory to contain the code & data from executable  pushes arguments on the stack  sets the CPU registers properly & calls  When Program starts running main(args) { initialize_java(); ret = main(args); exit(ret) } We can say “process” is now running, When main() returns, OS calls “exit()” which destroys the process and returns all resources
  • 7. Process Life Cycle • Processes are always either executing, waiting to execute or blocked waiting for an event to occur A pre-emptive scheduler will force a transition from running to ready. A non-preemptive scheduler waits.
  • 8. Cont..  Process has an execution state  ready: waiting to be assigned to CPU  running: executing on the CPU  waiting: waiting for an event, e.g. I/O  Blocked: waiting for another process execution, e.g. I/o one, sleep over  The OS maintains a collection of process state s  typically one queue for each state – e.g., ready, waiting, …  each PCB is put onto a queue according to its current state  as a process changes state, its PCB is unlinked from one queue, and linked to another  Process states are change in response to events – interrupts, traps
  • 9. Process Creation and Termination  Processes are created … o When the system boots o By the actions of another process (more later) o By the actions of a user o By the actions of a batch manager  Processes terminate … o Normally – exit o An error due to process Blocking o An error due to Exceptions o Terminated (killed) by the actions a user or a process
  • 11. PCB  Contains: o Process Identification o Processor State Information o Process Control Information  Attributes of Process Control Block : Process Id(Pid) , Parent Process Id(ppid), Name, Priority, Memory Description, Active File Description, Register Save Area, I/O resource Description
  • 12. Context Switching  Context switch is the act of switching the CPU from one process to another .  Reasons for Context Switching  Completion of a process  Completion of the time slice/quantum  Blocking call like I/O, Sleep call  Interrupt Occurs / An exception occurs
  • 13. Scheduling  Scheduler invokes only due to system calls.  Which process can enter running state?  Criteria depends on – CPU Utilization – Throughput – Turnaround time – Waiting time – Response time  Scheduler loads context from top of the stack
  • 14. Process Control and Process Handling System Calls() OS must include calls to enable special control of a process:  Priority manipulation:  nice(), which specifies base process priority (initial priority)  Debugging support:  ptrace(), allows a process to be put under control of another process  The other process can set breakpoints, e.g. registers  Alarms and time:  Sleep puts a process on a timer queue waiting for some number of seconds, supporting an alarm functionality
  • 15. Cont..  Process Handling System Calls 1. getpid():Used to get process id 2. getppid():Used to get Parent Process id 3. exit():Used to exit and calls pending buffer contents 4. fork():Used to create child Process 5. waitpid():Used to block parent process till the completion of child process. 6. execl():Used to overwrites current address space of child process
  • 16. Advantages and Disadvantages  Advantages:  Multi-Programming and Time sharing  You Can explore complex processing in to sub-Processing  Due to that your system became faster  Disadvantages:  Deadlock  Poor overlaps of I/O and Cpu
  • 17. Conclusion  We conclude that It is possible to build a simple mechanism that is sufficient to realize downloading, migration,Exceptionhandling,checkpointhag,e mulation and debugging in between multiple processes are running at time. And the real time examples are media player , Laptops , Cpu , TV , Mobiles etc..
  • 18. References 1. Sape J. Mullender " Process Management in a Distributed Operating System ", Centre for Mathematics & Computer Science Amsterdam and Computer Laboratory,Cambridge University 2. IEEEConference and Workshop on Engineering of Computer Based Systems,”Developing Complex Systems -Incorporating Human Variability into the Process “ 1997, by Stephanie M. White, Jerry M. Owens, Computer Science and Management Engineering C.W. Post Campus, Long Island University 3. International Conference of Information and Communication Technology (ICoICT) 2013 IEEE on “Dynamic Process Migration Framework” By Amirreza Zarrabi, Khairulmizam Samsudin and Amin Ziaeiy Department of Computer and Communication Systems, Faculty of Engineering,Universiti Putra Malaysia, 43400 UPM Serdang, Selangor, Malaysia 4. http://en.wikipedia.org/wiki/Process_Management(Computing)