whatis process

Process

A running instance of a program, with its own memory, PID, owner, open files, and state, managed and scheduled by the kernel.

What Is a Process in Linux?

Every command you run becomes a process. New processes are created by an existing one calling fork and then exec, so every process has a parent, and they form a tree rooted at PID 1.

ps, top, and htop list processes; /proc/<pid>/ exposes their details; and signals like SIGTERM tell them to stop. A thread is a lighter-weight unit of execution that shares its process's memory.

Example

ps -eo pid,ppid,user,%cpu,cmd --sort=-%cpu | head