| Linux hosting5.siteguarding.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64 Path : /usr/share/systemtap/tapset/ |
| Current File : //usr/share/systemtap/tapset/system.stp |
/**
* sfunction system - Issue a command to the system
*
* @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.
*/
function system (cmd:string) %{ /* unprivileged */
_stp_ctl_send(STP_SYSTEM, STAP_ARG_cmd, strlen(STAP_ARG_cmd)+1);
%}