Posts

Showing posts from September, 2019

what is process and process state in operating system.?

Image
what is process and process state in operating system.? Introduction to Process A process is a program in execution. A process is the unit of work in a system. A process is an active entity as opposed to the program which is considered to be a passive entity. Such a system consists of a collection of concurrently executing processes, some of which are operating-system processes (those that execute system code) and the rest of which are user processes (those that execute user code). The process will need certain resources—such as CPU time, memory, files, and I/O devices to accomplish its task. These resources are allocated to the process either when it is created or while it is executing. Process memory is divided into four sections for efficient working: 1. The text section is made up of the compiled program code, read in from non-volatile storage when the program is launched. 2. The data section is made up of the global and static variables, allocated and initializ...