function::sid
Returns the session ID of the current process
- Provided by: systemtap-doc (Version: 5.0-2ubuntu1)
- Source: systemtap
- Report a bug
Returns the session ID of the current process
sid:long()
None
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.