Debian Codegraph @

EXAMPLES/lwtools/execsnoop-nd.8

raw
1 .TH execsnoop-nd 8 "2015-01-30" "USER COMMANDS"
2 .SH NAME
3 execsnoop-nd \- trace process exec() with arguments. Uses Linux SystemTap (non-debuginfo).
4 .SH SYNOPSIS
5 .B execsnoop-nd.stp
6 .SH DESCRIPTION
7 This traces exec() from the fork()->exec() sequence, which means it will not
8 catch new processes that only fork(). It will also show every exec(), including
9 those if a process re-execs.
10
11 This is a basic version of execsnoop.
12 .SH REQUIREMENTS
13 SystemTap.
14 .SH EXAMPLES
15 .TP
16 Trace all new processes and arguments via exec():
17 #
18 .B execsnoop-nd.stp
19 .SH FIELDS
20 .TP
21 TIME
22 Time of the exec(), in human readable format.
23 .TP
24 PID
25 Process ID.
26 .TP
27 PPID
28 Parent process ID.
29 .TP
30 COMM
31 Process name.
32 .TP
33 ARGS
34 Command line arguments.
35 .SH OVERHEAD
36 This reads and processes exec() events and prints a line of output for each.
37 Since the rate of exec() is expected to be low (< 500/s), the overhead is
38 expected to be negligible.
39 .SH SOURCE
40 This is from the SystemTap lwtools collection.
41 .IP
42 https://github.com/brendangregg/systemtap-lwtools
43 .PP
44 Also look under the examples directory for a text file containing example
45 usage, output, and commentary for this tool.
46 .SH OS
47 Linux
48 .SH STABILITY
49 Unstable - in development.
50 .SH AUTHOR
51 Brendan Gregg
52 .SH SEE ALSO
53 top(1)