wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Processes : Process description and control

profile
4475 Mit Gohil
Jul 05, 2024
0 Likes
0 Discussions
51 Reads

Processes in the context of computing refer to instances of executing programs on a computer system. Each process has its own memory space, resources, and execution context. Here's a breakdown of the key aspects related to processes:

  1. Process Description:
    • Program Execution: A process represents the execution of a program. It includes the program code, associated data, and resources like open files and network connections.
    • Memory Space: Each process typically has its own memory space, which includes the executable code, variables, stacks, heaps, etc.

    • Resource Allocation: Processes may require various system resources (CPU time, memory, files) which are allocated to them by the operating system.

      • Process ID (PID): A unique identifier assigned to each process by the operating system, which helps in managing and distinguishing between different processes.

      2.Process Control:

      • Creation: Processes are created either by the operating system when a program is started or by another process (parent process) using system calls like fork() (Unix-like systems) or CreateProcess() (Windows).
      • Scheduling: The operating system scheduler decides which process gets to use the CPU and for how long, based on scheduling algorithms (e.g., round-robin, priority-based scheduling).

        Execution State: Processes transition between different states such as running, ready, waiting (blocked), or terminated. State transitions are managed by the operating system scheduler and are influenced by events like I/O operations, timers, and signals.

      • Termination: Processes can terminate either voluntarily (by calling exit) or involuntarily (due to errors or signals). Upon termination, resources allocated to the process are released by the operating system.                       

        3. Process Communication and Synchronization:

        • Processes often need to communicate and synchronize with each other, especially in multi-process or multi-threaded environments.
        • Mechanisms for inter-process communication (IPC) include shared memory, message passing (pipes, sockets, message queues), and synchronization primitives (mutexes, semaphores) to coordinate access to shared resources.

          4.Process States:

          • Running: The process is currently executing instructions on the CPU.
          • Ready: The process is ready to execute and waiting for its turn to be assigned to a CPU core.
          • Waiting (Blocked): The process is waiting for an event (such as I/O completion) or resource allocation (like memory) before it can proceed.
          • Terminated: The process has finished execution, and its resources have been released back to the system.
          • Understanding processes and their control is fundamental to operating system design, resource management, and application development, especially in ensuring efficient and stable execution of programs on a computer system.


Comments ()


Sign in

Read Next

SECURITY TOOLS

Blog banner

Cyber Attacks -- Trends Patterns and Security Countermeasures

Blog banner

Linux 94

Blog banner

american greatines

Blog banner

Cloud Forensic Tools And Storage :A Review Paper

Blog banner

Sweet and Sour Mango Pickle (Gol Keri)

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

WINDOWS I/ O

Blog banner

Hosting basics

Blog banner

GIS Mapping

Blog banner

Europe Through My Lens

Blog banner

Perfect Moments to Wear a Rich Patola Design Outfit

Blog banner

OPERATING SYSTEM

Blog banner

Principal of concurrency

Blog banner

Data Warehouse Bus Matrix

Blog banner

Jamming Attacks in Network Security: Disrupting Communication Signals

Blog banner

NETSUITE

Blog banner

Practical Implementation of Client Server model using TCP/IP.

Blog banner

Functions of Operating System

Blog banner

Why Mumbai Professionals Are Switching Back to Home-Style Tiffin Meals

Blog banner

Four Stalls Every Vegetarian Needs To Eat At Outside Vile Parle Station

Blog banner

Music

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

How to Encrypt and Decrypt Using GNU PGP

Blog banner

DURGA POOJA

Blog banner

Major achievement

Blog banner

How to Avoid being a Victim of Cybercrime

Blog banner

INTERNET SECURITY

Blog banner

History of ITIL

Blog banner

semaphores in os

Blog banner

10 Interesting facts you should know!!!

Blog banner

RACI model in IT services

Blog banner

Network Forensics

Blog banner

Exploring Human Factors in Cyber Forensics Investigations.

Blog banner

File and File System Structure

Blog banner

ZOHO

Blog banner

Deadlock and starvation

Blog banner

JIRA SOFTWARE

Blog banner

ROLE OF THE COMPUTER FORENSICS TOOLS AND TECHNIQUES

Blog banner

Cache Memory in Operating Systems

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Key to success in Sports

Blog banner