summaryrefslogtreecommitdiff
path: root/docs/manpages
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manpages')
-rw-r--r--docs/manpages/smbcontrol.123
1 files changed, 18 insertions, 5 deletions
diff --git a/docs/manpages/smbcontrol.1 b/docs/manpages/smbcontrol.1
index 9a6dd16abf..394e305108 100644
--- a/docs/manpages/smbcontrol.1
+++ b/docs/manpages/smbcontrol.1
@@ -13,8 +13,9 @@ smbcontrol \- send messages to smbd or nmbd processes
.PP
This program is part of the \fBSamba\fP suite\&.
.PP
-\fBsmbcontrol\fP is a very small program, which sends messages to a \fBsmbd\fP
-or a \fBnmbd\fP daemon running on the system\&.
+\fBsmbcontrol\fP is a very small program, which sends messages to an
+\fBsmbd\fP or an \fBnmbd\fP daemon
+running on the system\&.
.PP
.SH "OPTIONS"
.PP
@@ -22,10 +23,10 @@ or a \fBnmbd\fP daemon running on the system\&.
.IP "\fB-i\fP"
Run interactively\&. Individual commands of the form
destination message-type parameters
-can be entered on STDIN\&. An empty command line will quit the program\&.
+can be entered on STDIN\&. An empty command line or a "q" will quit the program\&.
.IP
.IP "\fBdestination\fP"
-is one of "nmbd", "smbd" or a process ID
+is one of "nmbd", "smbd" or a process ID\&.
.IP
The \fBsmbd\fP destination causes the message to be "broadcast" to all
smbd daemons\&.
@@ -37,7 +38,8 @@ If a single process ID is given, the message is sent to only that
process\&.
.IP
.IP "\fBmessage-type\fP"
-is one of: debug, force-election, or ping\&.
+is one of: debug, force-election, ping, profile,
+or debuglevel\&.
.IP
The \fBdebug\fP message-type allows the debug level to be set to the value
specified by the parameter\&. This can be sent to any of the destinations\&.
@@ -50,6 +52,17 @@ The \fBping\fP message-type sends the number of "ping" messages specified
by the parameter and waits for the same number of
reply "pong" messages\&. This can be sent to any of the destinations\&.
.IP
+The \fBprofile\fP message-type sends a message to an smbd to change the profile
+settings based on the parameter\&. The parameter can be "on" to turn on
+profile stats collection, "off" to turn off profile stats collection, "count"
+to enable only collection of count stats (time stats are disabled), and
+"flush" to zero the current profile stats\&.
+This can be sent to any of the destinations\&.
+.IP
+The \fBdebuglevel\fP message-type sends a "request debug level" message\&.
+The current debug level setting is returned by a
+"debuglevel" message\&. This can be sent to any of the destinations\&.
+.IP
.IP "\fBparameters\fP"
is any parameters required for the message-type
.IP