forked from iovisor/bcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In the man pages of tcplife and tcpstates, the name of the field for the remote port and address (DPORT, DADDR) differs from the tool itself (RPORT, RADDR). This patch fix the man pages. The man page of tcpdrop mentions options that do not exists. This patch fix that. It also fix the comment at the head of the code that too mentions inexistents options. The man pages for solisten and sofdsnoop are missing. This patch adds them. The deadlock_detector tools has been rename simply deadlock, but its manpage is still named deadlock_detector although its content has been updated. This patch rename the manpage.
- Loading branch information
1 parent
1a47a9a
commit 33c9c57
Showing
10 changed files
with
123 additions
and
12 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
.TH SOFDSNOOP 8 "2019-07-29" "USER COMMANDS" | ||
.SH NAME | ||
sofdsnoop \- traces FDs passed by sockets | ||
.SH SYNOPSIS | ||
usage: sofdsnoop [\-h] [\-T] [\-p PID] [\-t TID] [\-n NAME] [\-d DURATION] | ||
.SH DESCRIPTION | ||
Trace file descriptors passed via socket | ||
.SS "optional arguments:" | ||
.TP | ||
\fB\-h\fR, \fB\-\-help\fR | ||
show this help message and exit | ||
.TP | ||
\fB\-T\fR, \fB\-\-timestamp\fR | ||
include timestamp on output | ||
.TP | ||
\fB\-p\fR PID, \fB\-\-pid\fR PID | ||
trace this PID only | ||
.TP | ||
\fB\-t\fR TID, \fB\-\-tid\fR TID | ||
trace this TID only | ||
.TP | ||
\fB\-n\fR NAME, \fB\-\-name\fR NAME | ||
only print process names containing this name | ||
.TP | ||
\fB\-d\fR DURATION, \fB\-\-duration\fR DURATION | ||
total duration of trace in seconds | ||
.SH EXAMPLES | ||
.TP | ||
Trace passed file descriptors | ||
# | ||
.B sofdsnoop | ||
.TP | ||
Include timestamps | ||
# | ||
.B sofdsnoop \fB\-T\fR | ||
.TP | ||
Only trace PID 181 | ||
# | ||
.B sofdsnoop \fB\-p\fR 181 | ||
.TP | ||
Only trace TID 123 | ||
# | ||
.B sofdsnoop \fB\-t\fR 123 | ||
.TP | ||
Trace for 10 seconds only | ||
# | ||
.B sofdsnoop \fB\-d\fR 10 | ||
.TP | ||
Only print process names containing "main" | ||
# | ||
.B sofdsnoop \fB\-n\fR main | ||
.SH SOURCE | ||
This is from bcc. | ||
.IP | ||
https://github.com/iovisor/bcc | ||
.PP | ||
Also look in the bcc distribution for a companion _examples.txt file containing | ||
example usage, output, and commentary for this tool. | ||
.SH OS | ||
Linux | ||
.SH STABILITY | ||
Unstable - in development. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
.TH SOLISTEN 8 "2019-07-29" "USER COMMANDS" | ||
.SH NAME | ||
solisten \- Trace listening socket | ||
.SH SYNOPSIS | ||
usage: solisten [\-h] [\-\-show\-netns] [\-p PID] [\-n NETNS] | ||
.SH DESCRIPTION | ||
All IPv4 and IPv6 listen attempts are traced, even if they ultimately | ||
fail or the listening program is not willing to accept(). | ||
.SS "optional arguments:" | ||
.TP | ||
\fB\-h\fR, \fB\-\-help\fR | ||
show this help message and exit | ||
.TP | ||
\fB\-\-show\-netns\fR | ||
show network namespace | ||
.TP | ||
\fB\-p\fR PID, \fB\-\-pid\fR PID | ||
trace this PID only | ||
.TP | ||
\fB\-n\fR NETNS, \fB\-\-netns\fR NETNS | ||
trace this Network Namespace only | ||
.SH EXAMPLES | ||
.TP | ||
Stream socket listen: | ||
# | ||
.B solisten | ||
.TP | ||
Stream socket listen for specified PID only | ||
# | ||
.B solisten \-p 1234 | ||
.TP | ||
Stream socket listen for the specified network namespace ID only | ||
# | ||
.B solisten \-\-netns 4242 | ||
.TP | ||
Show network ns ID (useful for containers) | ||
# | ||
.B solisten \-\-show\-netns | ||
.SH SOURCE | ||
This is from bcc. | ||
.IP | ||
https://github.com/iovisor/bcc | ||
.PP | ||
Also look in the bcc distribution for a companion _examples.txt file containing | ||
example usage, output, and commentary for this tool. | ||
.SH OS | ||
Linux | ||
.SH STABILITY | ||
Unstable - in development. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters