function::sid.3stap - Man Page

Returns the session ID of the current process

Synopsis

    sid:long()

Arguments

None

Description

The session ID of a process is the process group ID of the session leader. Session ID is stored in the signal_struct since Kernel 2.6.0.

See Also0

tapset::context(3stap)

Info

November 2023 SystemTap Tapset Reference Context Functions