FUNCTION::SYSTEM(3stap) Shell command functions FUNCTION::SYSTEM(3stap)

# [NAME](#NAME)

function::system - Issue a command to the system

# [SYNOPSIS](#SYNOPSIS)

```


    system(cmd:string)
```

# [ARGUMENTS](#ARGUMENTS)

*cmd*

the command to issue to the system

# [DESCRIPTION](#DESCRIPTION)

This function runs a command on the system. The command is started in the background some time after the current probe completes. The command is run with the same UID as the user running the stap or staprun command. The runtime may impose a relatively short length limit on the command string. Exceeding it may print a warning.

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::system*(3stap)](/man/enterprise-packages/systemtap/tapset::system.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: function::system(3stap) from systemtap 5.6-r1 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
