Unix/Linux Go Back    


CentOS 7.0 - man page for function::target (centos section 3stap)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


FUNCTION::TARGET(3stap) 		Context Functions		  FUNCTION::TARGET(3stap)

NAME
       function::target - Return the process ID of the target process

SYNOPSIS
	   target:long()

ARGUMENTS
       None

DESCRIPTION
       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.

       -x <pid> target returns the pid specified by -x

       -c <command> target returns the pid for the executed command specified by -c


SystemTap Tapset Reference		    June 2014			  FUNCTION::TARGET(3stap)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 12:46 AM.