PGID
PGID stands for Process Group Identifier. In Unix-like operating systems, a process group is a collection of one or more processes that can be managed as a unit for job control and signal delivery. Each process belongs to exactly one process group, identified by the group's PGID. The group leader is the process whose PGID equals its own PID, so the group's PGID is also the leader’s PID.
By default, a new process inherits the PGID of its parent. A process can form a new
PGIDs are central to terminal and job control. The terminal maintains a foreground process group; signals generated
Practical notes include how to inspect and manipulate PGIDs. The getpgid or getpgrp system calls return the