summaryrefslogtreecommitdiffstats
path: root/runtime/probes/shellsnoop
diff options
context:
space:
mode:
authorhunt <hunt>2005-03-22 08:57:11 +0000
committerhunt <hunt>2005-03-22 08:57:11 +0000
commitb9c556e44326b40b2c927a0a5b5626332a8c9587 (patch)
treed0497c9323dedcb292d353d79fef769fa6fef210 /runtime/probes/shellsnoop
parent4a4753cb066f60eb09906a6021997ec280d3fdc5 (diff)
downloadsystemtap-steved-b9c556e44326b40b2c927a0a5b5626332a8c9587.tar.gz
systemtap-steved-b9c556e44326b40b2c927a0a5b5626332a8c9587.tar.xz
systemtap-steved-b9c556e44326b40b2c927a0a5b5626332a8c9587.zip
*** empty log message ***
Diffstat (limited to 'runtime/probes/shellsnoop')
-rw-r--r--runtime/probes/shellsnoop/README12
1 files changed, 9 insertions, 3 deletions
diff --git a/runtime/probes/shellsnoop/README b/runtime/probes/shellsnoop/README
index fee5e4c1..70b5e614 100644
--- a/runtime/probes/shellsnoop/README
+++ b/runtime/probes/shellsnoop/README
@@ -1,7 +1,12 @@
-Sample probe.
+/** @dir shellsnoop
+Snoops on what commands are being run by shells.
-This is a translation of on an old dtr probe:
+This is a translation of on an old dtr probe. It demonstrates maps,
+lists, and how to use _stp_copy_argv_from_user() and _stp_strncpy_from_user().
+Original dtr source:
+
+\verbatim
# shellsnoop.probe - snoop shell execution as it occurs.
# clone of dtrace shellsnoop example
@@ -64,4 +69,5 @@ probe sys_write:entry {
}
}
}
-
+\endverbatim
+*/