summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/htmldocs/smbstatus.1.html5
-rw-r--r--docs/manpages/smbstatus.16
-rw-r--r--docs/yodldocs/smbstatus.1.yo6
3 files changed, 14 insertions, 3 deletions
diff --git a/docs/htmldocs/smbstatus.1.html b/docs/htmldocs/smbstatus.1.html
index 9fc53f416bf..4a854a5c4d9 100644
--- a/docs/htmldocs/smbstatus.1.html
+++ b/docs/htmldocs/smbstatus.1.html
@@ -24,7 +24,7 @@
<p><br><a name="SYNOPSIS"></a>
<h2>SYNOPSIS</h2>
-<p><br><strong>smbstatus</strong> [<a href="smbstatus.1.html#minusb">-b</a>] [<a href="smbstatus.1.html#minusd">-d</a>] [<a href="smbstatus.1.html#minusL">-L</a>] [<a href="smbstatus.1.html#minusp">-p</a>] [<a href="smbstatus.1.html#minusS">-S</a>] [<a href="smbstatus.1.html#minuss">-s configuration file</a>] [<a href="smbstatus.1.html#minusu">-u username</a>]
+<p><br><strong>smbstatus</strong> [<a href="smbstatus.1.html#minusP">-P</a>] [<a href="smbstatus.1.html#minusb">-b</a>] [<a href="smbstatus.1.html#minusd">-d</a>] [<a href="smbstatus.1.html#minusL">-L</a>] [<a href="smbstatus.1.html#minusp">-p</a>] [<a href="smbstatus.1.html#minusS">-S</a>] [<a href="smbstatus.1.html#minuss">-s configuration file</a>] [<a href="smbstatus.1.html#minusu">-u username</a>]
<p><br><a name="DESCRIPTION"></a>
<h2>DESCRIPTION</h2>
@@ -35,6 +35,9 @@ connections.
<h2>OPTIONS</h2>
<p><br><ul>
+<p><br><a name="minusP"></a>
+<li><strong><strong>-P</strong></strong> If samba has been compiled with the profiling option,
+print only the contents of the profiling shared memory area.
<p><br><a name="minusb"></a>
<li><strong><strong>-b</strong></strong> gives brief output.
<p><br><a name="minusd"></a>
diff --git a/docs/manpages/smbstatus.1 b/docs/manpages/smbstatus.1
index ddbbc7e8a53..9013987b3f1 100644
--- a/docs/manpages/smbstatus.1
+++ b/docs/manpages/smbstatus.1
@@ -5,7 +5,7 @@ smbstatus \- report on current Samba connections
.PP
.SH "SYNOPSIS"
.PP
-\fBsmbstatus\fP [-b] [-d] [-L] [-p] [-S] [-s configuration file] [-u username]
+\fBsmbstatus\fP [-P] [-b] [-d] [-L] [-p] [-S] [-s configuration file] [-u username]
.PP
.SH "DESCRIPTION"
.PP
@@ -17,6 +17,10 @@ connections\&.
.SH "OPTIONS"
.PP
.IP
+.IP "\fB-P\fP"
+If samba has been compiled with the profiling option,
+print only the contents of the profiling shared memory area\&.
+.IP
.IP "\fB-b\fP"
gives brief output\&.
.IP
diff --git a/docs/yodldocs/smbstatus.1.yo b/docs/yodldocs/smbstatus.1.yo
index 9429811c7d8..0d88bc7ef55 100644
--- a/docs/yodldocs/smbstatus.1.yo
+++ b/docs/yodldocs/smbstatus.1.yo
@@ -8,7 +8,7 @@ manpagename(smbstatus)(report on current Samba connections)
label(SYNOPSIS)
manpagesynopsis()
-bf(smbstatus) [link(-b)(minusb)] [link(-d)(minusd)] [link(-L)(minusL)] [link(-p)(minusp)] [link(-S)(minusS)] [link(-s configuration file)(minuss)] [link(-u username)(minusu)]
+bf(smbstatus) [link(-P)(minusP)] [link(-b)(minusb)] [link(-d)(minusd)] [link(-L)(minusL)] [link(-p)(minusp)] [link(-S)(minusS)] [link(-s configuration file)(minuss)] [link(-u username)(minusu)]
label(DESCRIPTION)
manpagedescription()
@@ -23,6 +23,10 @@ manpageoptions()
startdit()
+label(minusP)
+dit(bf(-P)) If samba has been compiled with the profiling option,
+print only the contents of the profiling shared memory area.
+
label(minusb)
dit(bf(-b)) gives brief output.