EASTERN SAMAR STATE UNIVERSITY
Salcedo Campus
Salcedo, Eastern Samar
MODULE II
PROCESS CONCEPT
Overview
This chapter covers the fundamental concepts and rationale of the process management and communication in client-server system. A process is a program in execution. As a process executes or it changes state. The state of a process is defined by that process's current activity. Each process may be in one of the following states: new, ready running, waiting; or terminated. Each process is represented in the operating system by its own process control block (PCB).
Learning objectives:
1. Comprehend the overview of process management.
2. To describe the various features of processes, including scheduling, creation and termination, and communication.
3. To describe communication in client-server systems.
Introduction:
Early computer systems allowed only one program to be executed at a time. This program had complete control of the system and had access to all the system's resources. In contrast, current-day computer systems allow multiple programs to be loaded into memory and executed concurrently. This evolution required firmer control and more compartmentalization of the various programs; and these needs resulted in the notion of a process/ which is a program in execution. A process is the unit of work in a modern time-sharing system.
The more complex the operating system is, the more it is expected to do on behalf of its users. Although its main concern is the execution of user programs, it also needs to take care of various system tasks that are better left outside the kernel itself. A system therefore consists of a collection of processes: operating system processes executing system code and user processes executing user code. Potentially/ all these processes can execute concurrently/ with the CPU (or CPUs) multiplexed among them. By switching the CPU between processes, the operating system can make the computer more productive.