HEX
Server: Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips
System: Linux WORDPRESS 3.10.0-1160.118.1.el7.x86_64 #1 SMP Thu Apr 4 03:33:23 EDT 2024 x86_64
User: digital (1020)
PHP: 7.2.24
Disabled: NONE
Upload Files
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);
%}