Question: what is pgrp in unix?
Answer: A “pgrp” is a process group. ... The PGID of a process is typically itself or its parent's process group, but can be arbitrarily set with setpgid() . Process groups control what processes receive job control signals.