From 73805e7c1b9ac98db04c4b2e524c5bbb409c8aeb Mon Sep 17 00:00:00 2001 From: ddomingo Date: Wed, 5 Nov 2008 16:29:20 +1000 Subject: proofread run 3 --- .../en-US/CrossInstrumenting.xml | 7 +-- .../en-US/Using_SystemTap.xml | 63 +++++++++++----------- 2 files changed, 35 insertions(+), 35 deletions(-) (limited to 'doc/SystemTap_Beginners_Guide') diff --git a/doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml b/doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml index 8a772f15..5e29307c 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml +++ b/doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml @@ -33,16 +33,13 @@ - The debug RPMs for various machines can be installed on a single system: - the host machine. + The kernel information packages for various machines can be installed on a single host machine. - Each target machine only needs one RPM to installed to use - the generated SystemTap instrumentation module: - systemtap-runtime. + Each target machine only needs one RPM to installed to use the generated SystemTap instrumentation module: systemtap-runtime. diff --git a/doc/SystemTap_Beginners_Guide/en-US/Using_SystemTap.xml b/doc/SystemTap_Beginners_Guide/en-US/Using_SystemTap.xml index 447f3d62..1a21dbcb 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/Using_SystemTap.xml +++ b/doc/SystemTap_Beginners_Guide/en-US/Using_SystemTap.xml @@ -28,14 +28,44 @@ SystemTap scripts are run through the command stap. stap can run SystemTap scripts from standard input or from file. - + + + + Running stap and staprun requires elevated privileges to the system. However, not all users can be granted root access just to run SystemTap. In some cases, for instance, you may want to allow a non-privileged user to run SystemTap instrumentation on his machine. + + +To allow ordinary users to run SystemTap without root access, add them to one of these user groups: + + + + + stapdev + + + Members of this group can use stap to run SystemTap scripts, or staprun to run SystemTap instrumentation modules. + + + + + + stapusr + + + Members of this group can only run staprun to run SystemTap instrumentation modules. In addition, they can only run those modules from /lib/modules/kernel_version/systemtap/. Note that this directory must be owned only by the root user, and must only be writable by the root user. + + + + + + + Below is a list of commonly used stap options: @@ -117,33 +147,6 @@ echo "probe timer.s(1) {exit()}" | stap - The stap options -v and -o also work for staprun. For more information about staprun, refer to man staprun. - - stapdev and stapusr - Running stap and staprun requires elevated privileges to the system. However, not all users can be granted root access just to run SystemTap. In some cases, for instance, you may want to allow a non-privileged user to run SystemTap instrumentation on his machine. - - -To allow ordinary users to run SystemTap without root access, add them to one of these user groups: - - - - - stapdev - - - Members of this group can use stap to run SystemTap scripts, or staprun to run SystemTap instrumentation modules. - - - - - - stapusr - - - Members of this group can only run staprun to run SystemTap instrumentation modules. In addition, they can only run those modules from /lib/modules/kernel_version/systemtap/. Note that this directory must be owned only by the root user, and must only be writable by the root user. - - - - -- cgit