function::cmdline_arg(3stap)

function::cmdline_arg3stap

Fetch a command line argument

Usage

    cmdline_arg:string(n:long)

Arguments

n

Argument to get (zero is the program itself)

Overview

Returns argument the requested argument from the current process or the empty string when there are not that many arguments or there is a problem retrieving the argument. Argument zero is traditionally the command itself.

See ALSO0

tapset::context(3stap)

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.