flâneur

Processes in Linux - Everything You Need to Know

reliabilityengineering.substack.com · 1,625 words · saved by 1 readers

What is a Process?

A process is an instance of a program in execution. It contains the program code and its activity. Depending on the operating system (OS), a process can be composed of multiple threads of execution that execute instructions concurrently. Program Code: The executable code for the process. Memory: Includes the following segments: Text Segment: Contains the actual compiled code of the program. Data Segment: Contains global and static variables. Heap: Used for dynamic memory allocation during process execution. Stack: Holds local variables, function parameters, return addresses, and…

saved by

related reading