function::system.3stap - Man Page

Issue a command to the system

Synopsis

    system(cmd:string)

Arguments

cmd

the command to issue to the system

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

tapset::system(3stap)

Info

November 2023 SystemTap Tapset Reference Shell command functions