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

NAME

6       function::cmdline_arg - Fetch a command line argument
7

SYNOPSIS

9           cmdline_arg:string(n:long)
10

ARGUMENTS

12       n
13           Argument to get (zero is the command itself)
14

DESCRIPTION

16       Returns argument the requested argument from the current process or the
17       empty string when there are not that many arguments or there is a
18       problem retrieving the argument. Argument zero is traditionally the
19       command itself.
20
21
22
23SystemTap Tapset Reference        August 2011      FUNCTION::CMDLINE_AR(3stap)
Impressum