OS Manuals

function::cmdline_arg(3stap)

function::cmdline_arg - Fetch a command line argument

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

function::cmdline_arg - Fetch a command line argument


cmdline_arg:string(n:long)

n

Argument to get (zero is the program itself)

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.

tapset::context(3stap)

September 2026 SystemTap Tapset Reference Ver

systemtap 5.6-r1 · enterprise-packages · ingested 2026-10-14