---
title: "Process"
url: https://www.daytona.com/definitions/p/process
---

# Process

A process is a running instance of a program, with its own memory, managed by the kernel.

A process is a program that the kernel has loaded into memory and is running. A program is a file on disk, while a process is one live copy of it, and one program can run as many processes at once. The copies can share the code of the program in physical memory, so each extra copy costs mainly its own data. On Linux, starting a program also loads the shared libraries it needs, through a small loader that runs first.

The kernel gives each process a numeric ID and a set of resources it owns. The process ends when the program exits or is killed, and the kernel then takes its resources back. The kernel frees them even when the program crashed without cleaning up, so a dead program cannot leak memory for good. Until its parent reads its exit status, an ended process lingers as a small entry called a zombie.

The process is the oldest isolation unit in an operating system, and the unit that the kernel isolates and accounts for. Higher layers build on it, so a container is a group of processes with extra limits from namespaces and cgroups. Tools that report processor and memory use read figures the kernel keeps for each process. Signals, such as a request to stop, are also addressed to a process by its ID. Code inside a sandbox runs as ordinary processes too, on the host kernel or on a guest kernel.

## Related terms

- [Auto-stop](https://www.daytona.com/definitions/a/auto-stop.md)
- [Boot process](https://www.daytona.com/definitions/b/boot-process.md)
- [Capabilities](https://www.daytona.com/definitions/c/capabilities.md)
- [Cgroup](https://www.daytona.com/definitions/c/cgroup.md)
- [Checkpoint and restore](https://www.daytona.com/definitions/c/checkpoint-and-restore.md)
- [Chiplet](https://www.daytona.com/definitions/c/chiplet.md)
