Description: Commands providing access to the setpgrp and getpgrp system calls
Status: Feature complete
Latest release: 2.1.1
License: ISC License (Internet Systems Consortium license)
Written in: C (ISO C99)

The setpgrp utility runs a command in a new process group, and optionally exports that process group identifier to a user-specified environment variable and optionally prints that process group identifier to the standard output.

The getpgrp utility prints the identifier of the current process group to the standard output.