Provided by: systemtap-doc_5.0-2ubuntu1_amd64 
      
    
NAME
       function::sid - 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 ALSO
       tapset::context(3stap)
SystemTap Tapset Reference                        November 2023                             FUNCTION::SID(3stap)