0% found this document useful (0 votes)
5 views

Process Management Process concept

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Process Management Process concept

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Process

Management
Process
 A process is a program in execution.

 A process is an ‘active’ entity instead of a program,


which is considered a ‘passive’ entity.

 A single program can create many processes when


run multiple times.

 A process is an active execution unit of a program


that performs some action.

 An operating system has the right to create,


schedule, and terminate a process.
Processes usually fall into two categories-

1. System processes
System processes are started by the operating system, and
they usually have something to do with running the OS
itself.

2. User processes
User processes, as you might guess, are those that the user
starts.

The operating system though handles various system


There are four sections in a process:-

 Text: holds the current activities represented


by the value of Program Counter

 Stack: holds temporary data such as local


variables, functional parameters, return
addresses, etc.

 Data: holds the global variables

 Heap: dynamically allocated memory to


process during runtime.
Example

when we write a program in C or C++ and


compile it, the compiler creates binary
code.

The original code and binary code are both


programs.

When we actually run the binary code, it


becomes a process.

You might also like