process

A program that is currently running, with its own memory and a numeric identifier.

In more detail

When you start a program the operating system creates a process for it, gives it a process ID and tracks the memory, files and network connections it holds. Running the same program twice gives two separate processes, and a process can start child processes to do work in parallel. The operating system shares the processors between all running processes.

Examples

Ansible's forks setting is the number of parallel worker processes the control node runs, one per host being worked on.
In the twelve-factor app the process is the unit of scaling: processes are stateless, disposable, run in the foreground and are managed by the platform.
ps -o pid,comm   # list processes with their IDs
A program is an executable file on disk; a process is one running instance of it. The kernel gives each process a PID, records its parent, schedules its threads and tracks resources such as memory and open file descriptors. Replacing the file on disk does not change a process that is already running; it keeps its loaded image until restarted.
Each python3 command you run starts a new interpreter process.
Memory forensics lists processes and their parents to find impossible parent-child pairs.

Related terms

Taught in

References

Certification courses