/usr/bin/stap-server: line 517: dirname: command not found
/usr/bin/stap-server: line 519: mkdir: command not found
/usr/bin/stap-server: line 1283: dirname: command not found
Failed to make log directory ()
Options (16)
| Option | Description | Source |
|---|
-c configfile | This option specifies a global configuration file in addition to the default global configuration file described below. | man |
-a architecture | This option specifies the target architecture of the server and is analogous to the -a option of stap. | man |
-r kernel-release | This option specifies a target kernel release of the server and is analogous to the -r option of stap. | man |
-I path | This option specifies an additional path to be searched by the server(s) for tapsets and is analogous to the -I option of stap. | man |
-R path | This option specifies the location of the systemtap runtime to be used by the server(s) and is analogous to the -R option of stap. | man |
-B options | This option specifies options to be passed to make when building systemtap modules and is analogous to the -B option of stap. | man |
-i | This option is a shortcut which specifies a server that handles every release installed in /lib/modules/. | man |
-n nickname | This option allows the specification of a server configuration by nickname. | man |
-p pid | This option allows the specification of a server configuration by process id. | man |
-u user-name | Each systemtap compile server is normally run by the user name stap-server (for the initscript) or as the user invoking stap-server, unless otherwise configured (see FILES). | man |
--log logfile | This option allows the specification of a separate log file for each server. | man |
--port port-number | This option allows the specification of a specific network port for each server. | man |
--ssl certificate-db-path | This option allows the specification of a separate NSS certificate database for each server. | man |
--max-threads threads | This option allows the specification of the maximum number of worker threads to handle concurrent requests. | man |
--max-request-size size | This options allows the specification of the maximum size of an uncompressed client request. | man |
--max-compressed-request size | This options allows the specification of the maximum size of a compressed client request. | man |
Examples (10) from the manual page, untested
[ service ] stap-server start
To start the configured servers, or the default server, if none are configured:[ service ] stap-server start -i
To start a server that handles all kernel versions installed in /lib/modules:[ service ] stap-server status
To obtain information about the running server(s):[ service ] stap-server start -n NICKNAME -a ARCH
To start a server like another one, except targeting a different architecture, by referencing the first server's nickname:[ service ] stap-server start -a ARCH -r /BUILDDIR
To start a server for a kernel release not installed (cross-compiling)[ service ] stap-server stop -p PID
To stop one of the servers by referencing its process id (obtained by running stap-server status):stap SCRIPT --use-server
To run a script using a compile server:stap SCRIPT
To run a script as an unprivileged user using a compile server:[ service ] stap-server stop
To stop all running servers:[ service ] stap-server force-reload
To restart servers after a global configuration change and/or when default servers have been added, changed, or removed:
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.