1FUNCTION::SID(3stap)           Context Functions          FUNCTION::SID(3stap)
2
3
4

NAME

6       function::sid - Returns the session ID of the current process
7

SYNOPSIS

9           sid:long()
10

ARGUMENTS

12       None
13

DESCRIPTION

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

SEE ALSO

19       tapset::context(3stap)
20
21
22
23SystemTap Tapset Reference         June 2018              FUNCTION::SID(3stap)
Impressum