DOKK / manpages / debian 10 / systemtap-doc / function::ns_pgrp.3stap.en
FUNCTION::NS_PGRP(3stap) Context Functions FUNCTION::NS_PGRP(3stap)

function::ns_pgrp - Returns the process group ID of the current process as seen in a pid namespace


ns_pgrp:long()

None

This function returns the process group ID of the current process as seen in the target pid namespace if provided, or the stap process namespace.

tapset::context(3stap)

October 2018 SystemTap Tapset Reference