Section: Context Functions (3stap)
Updated: October 2015
Return to Main Contents
function::target - Return the process ID of the target process
This function returns the process ID of the target process. This is useful in conjunction with the -x PID or -c CMD command-line options to stap. An example of its use is to create scripts that filter on a specific process.
returns the pid specified by -x
returns the pid for the executed command specified by -c
- SEE ALSO
This document was created by
using the manual pages.
Time: 13:25:45 GMT, October 09, 2015