|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /usr/share/systemtap/tapset/ |
Upload File : |
/**
* 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);
%}