---
name: "function::cmdline_str"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::cmdline_str"
---

# function::cmdline\_str(3stap)

Fetch all command line arguments from current process

## NAME

function::cmdline\_str - Fetch all command line arguments from current process

## SYNOPSIS

```
    cmdline_str:string()
```

## ARGUMENTS

None

## DESCRIPTION

Returns all arguments from the current process delimited by spaces. Returns the empty string when the arguments cannot be retrieved.

## SEE ALSO0

[*tapset::context*(3stap)](/tapset::context/3stap.md)
