1FUNCTION::SID(3stap) Context Functions FUNCTION::SID(3stap)
23
4
NAME
6function::sid - Returns the session ID of the current process
7
SYNOPSIS
9sid:long()
10
ARGUMENTS
12None
13
DESCRIPTION
15The session ID of a process is the process group ID of the session
16leader. Session ID is stored in the signal_struct since Kernel 2.6.0.
1718
19
20
SystemTap Tapset Reference August 2011 FUNCTION::SID(3stap)