aboutsummaryrefslogtreecommitdiff
path: root/share/man/man4/ddb.4
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man4/ddb.4')
-rw-r--r--share/man/man4/ddb.422
1 files changed, 17 insertions, 5 deletions
diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4
index f3443cbac127..3c4894c03d62 100644
--- a/share/man/man4/ddb.4
+++ b/share/man/man4/ddb.4
@@ -24,7 +24,7 @@
.\" any improvements or extensions that they make and grant Carnegie Mellon
.\" the rights to redistribute these changes.
.\"
-.Dd November 10, 2022
+.Dd June 10, 2025
.Dt DDB 4
.Os
.Sh NAME
@@ -299,7 +299,6 @@ If the
modifier has been specified, contents of structs nested up to
.Ar depth
levels deep will also be included in the output.
-.Ed
.Pp
.It Ic pprint struct Ns Oo Li / Ns Cm d depth Ic Oc Oo Ar name Oc Ns Op Ns Ar addr
Print memory at
@@ -313,7 +312,6 @@ If the
modifier has been specified, contents of structs nested up to
.Ar depth
levels deep will also be included in the output.
-.Ed
.Pp
.It Xo
.Ic write Ns Op Li / Ns Cm bhl
@@ -592,7 +590,7 @@ Prints the address of the thread whose kernel-mode stack contains
if any.
.Pp
.It Ic show Cm active trace
-.It acttrace
+.It Ic acttrace
Show a stack trace for every thread running on a CPU.
.Pp
.It Ic show Cm all procs Ns Op Li / Ns Cm a
@@ -606,6 +604,17 @@ The
modifier will print command line arguments for each process.
.\"
.Pp
+.It Ic show Cm all tcpcbs Ns Op Li / Ns Cm b Ns Cm l
+Show the same output as "show tcpcb" does, but for all
+TCP control blocks within the system.
+The
+.Cm b
+modifier will request BBLog entries to be printed.
+Using the
+.Cm l
+modifier will limit the output to TCP control blocks, which are locked.
+.\"
+.Pp
.It Ic show Cm all trace
.It Ic alltrace
Show a stack trace for every thread in the system.
@@ -1097,7 +1106,7 @@ on i386.)
Not present on some platforms.
.\"
.Pp
-.It Ic show Cm tcpcb Ar addr
+.It Ic show Cm tcpcb Ns Oo Li / Ns Cm b Oc Ar addr
Print TCP control block
.Vt struct tcpcb
lying at address
@@ -1105,6 +1114,9 @@ lying at address
For exact interpretation of output, visit
.Pa netinet/tcp.h
header file.
+The
+.Cm b
+modifier will request BBLog entries to be printed.
.\"
.Pp
.It Ic show Cm thread Op Ar addr | tid