FUNCTION::NS_PGRP(3stap) Context Functions FUNCTION::NS_PGRP(3stap)

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

SYNOPSIS ns_pgrp:long()

ARGUMENTS None

DESCRIPTION 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.

SEE ALSO tapset::context(3stap)

SystemTap Tapset Reference December 2016 FUNCTION::NS_PGRP(3stap)