logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sofdsnoop - traces FDs passed by sockets

Description

       Trace file descriptors passed via socket

   optionalarguments:-h, --help
              show this help message and exit

       -T, --timestamp
              include timestamp on output

       -p PID, --pid PID
              trace this PID only

       -t TID, --tid TID
              trace this TID only

       -n NAME, --name NAME
              only print process names containing this name

       -d DURATION, --duration DURATION
              total duration of trace in seconds

Examples

       Trace passed file descriptors
              # sofdsnoop

       Include timestamps
              # sofdsnoop-T

       Only trace PID 181
              # sofdsnoop-p 181

       Only trace TID 123
              # sofdsnoop-t 123

       Trace for 10 seconds only
              # sofdsnoop-d 10

       Only print process names containing "main"
              # sofdsnoop-n main

Name

       sofdsnoop - traces FDs passed by sockets

Os

       Linux

Source

       This is from bcc.

              https://github.com/iovisor/bcc

       Also  look  in  the bcc distribution for a companion _examples.txt file containing example usage, output,
       and commentary for this tool.

Stability

       Unstable - in development.

USER COMMANDS                                      2019-07-29                                       SOFDSNOOP(8)

Synopsis

       usage: sofdsnoop [-h] [-T] [-p PID] [-t TID] [-n NAME] [-d DURATION]

See Also