Created attachment 43025 [details] Adds a "pgid" task plugin for FreeBSD that manages job steps using process groups. Provides an alternative to Linux cgroups for resource tracking. This patch introduces a new "pgid" task plugin for FreeBSD that manages process groups (PGID) as an alternative to cgroups. Since FreeBSD does not provide Linux cgroups, this plugin ensures proper tracking and management of job steps using native process group semantics. The plugin integrates with Slurm's task management interface and allows FreeBSD systems to run workloads without requiring Linux-specific features. Original patch was developed for the FreeBSD port of Slurm to improve usability on non-Linux platforms.