Ubuntu Manpages

function::pgrp

Returns the process group ID of the current process

    pgrp:long()

None

This function returns the process group ID of the current process.

tapset::context(3stap)