DOKK / manpages / debian 12 / systemtap-doc / function::system.3stap.en
FUNCTION::SYSTEM(3stap) Shell command functions FUNCTION::SYSTEM(3stap)

function::system - Issue a command to the system


system(cmd:string)

cmd

the command to issue to the system

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.

tapset::system(3stap)

November 2022 SystemTap Tapset Reference