Using DFS in Production: Killing PIDs

SHIVAM SOURAV JHA
8 min readSep 14, 2023

A tryst with the OS process and prerequisite knowledge

Introduction

  • Understanding Processes in an OS Environment
  • The Importance of Process Management

Section 1: Delving into OS Processes

  • PID: Definition and Role in Process Management
  • PPID and PGID: An Introduction
  • Distinguishing Between PPID and PGID

Section 2: Handling Processes in Node

  • Identifying Processes in Different Operating Systems
  • Common Issues Encountered While Terminating a Node Process

Section 3: Strategies for Process Termination

  • Various Approaches to Terminating Processes
  • Recursion in Process Management
  • Understanding the Concept
  • Resources for Further Learning

Section 4: Making the Final Call

  • Choosing the Right Approach
  • Rationalizing the Final Decision

Conclusion

  • Summing Up.

Questions I Aim to Address:

  1. How does an operating system recognize various processes, and what methodologies are…

--

--

No responses yet