table of contents
other versions
- wheezy 1.7-1+deb7u1
- jessie 2.6-0.2
- jessie-backports 3.0-6~bpo8+1
- testing 3.1-2
- unstable 3.1-2
FUNCTION:(3stap) | Context Functions | FUNCTION:(3stap) |
function::cmdline_args
NAME¶
function::cmdline_args - Fetch command line arguments from current processSYNOPSIS¶
cmdline_args:string(n:long,m:long,delim:string)
ARGUMENTS¶
nFirst argument to get (zero is the command
itself)
m
Last argument to get (or minus one for all
arguments after n)
delim
String to use to delimit arguments when more
than one.
DESCRIPTION¶
Returns arguments from the current process starting with argument number n, up to argument m. If there are less than n arguments, or the arguments cannot be retrieved from the current process, the empty string is returned. If m is smaller than n then all arguments starting from argument n are returned. Argument zero is traditionally the command itself.May 2013 | SystemTap Tapset Reference |