1SOFDSNOOP(8) System Manager's Manual SOFDSNOOP(8)
2
3
4
6 sofdsnoop - traces FDs passed by sockets
7
9 usage: sofdsnoop [-h] [-T] [-p PID] [-t TID] [-n NAME] [-d DURATION]
10
12 Trace file descriptors passed via socket
13
14 optional arguments:
15 -h, --help
16 show this help message and exit
17
18 -T, --timestamp
19 include timestamp on output
20
21 -p PID, --pid PID
22 trace this PID only
23
24 -t TID, --tid TID
25 trace this TID only
26
27 -n NAME, --name NAME
28 only print process names containing this name
29
30 -d DURATION, --duration DURATION
31 total duration of trace in seconds
32
34 Trace passed file descriptors
35 # sofdsnoop
36
37 Include timestamps
38 # sofdsnoop -T
39
40 Only trace PID 181
41 # sofdsnoop -p 181
42
43 Only trace TID 123
44 # sofdsnoop -t 123
45
46 Trace for 10 seconds only
47 # sofdsnoop -d 10
48
49 Only print process names containing "main"
50 # sofdsnoop -n main
51
53 This is from bcc.
54
55 https://github.com/iovisor/bcc
56
57 Also look in the bcc distribution for a companion _examples.txt file
58 containing example usage, output, and commentary for this tool.
59
61 Linux
62
64 Unstable - in development.
65
66
67
68USER COMMANDS 2019-07-29 SOFDSNOOP(8)