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.
17
SEE ALSO
19tapset::context(3stap)
2021
22
23
SystemTap Tapset Reference June 2018 FUNCTION::SID(3stap)