From d57dc01732e36832649377b2708d1747b0b54e00 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Thu, 12 Oct 2000 19:32:09 +0000 Subject: update man page for program changes (This used to be commit 1ddfec32562f755f3f4ca4dde54af6a5a2e99978) --- docs/htmldocs/smbcontrol.1.html | 21 ++++++++++++++++----- docs/manpages/smbcontrol.1 | 23 ++++++++++++++++++----- docs/yodldocs/smbcontrol.1.yo | 23 ++++++++++++++++++----- 3 files changed, 52 insertions(+), 15 deletions(-) (limited to 'docs') diff --git a/docs/htmldocs/smbcontrol.1.html b/docs/htmldocs/smbcontrol.1.html index 65eff8b6a4..4ce05714c6 100644 --- a/docs/htmldocs/smbcontrol.1.html +++ b/docs/htmldocs/smbcontrol.1.html @@ -30,8 +30,9 @@

DESCRIPTION


This program is part of the Samba suite. -


smbcontrol is a very small program, which sends messages to a smbd -or a nmbd daemon running on the system. +


smbcontrol is a very small program, which sends messages to an +smbd or an nmbd daemon +running on the system.


OPTIONS

@@ -39,9 +40,9 @@ or a nmbd daemon running on the syste


  • -i 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.


    -

  • destination is one of "nmbd", "smbd" or a process ID +
  • destination is one of "nmbd", "smbd" or a process ID.


    The smbd destination causes the message to be "broadcast" to all smbd daemons.


    The nmbd destination causes the message to be sent to the nmbd @@ -49,7 +50,8 @@ daemon specified in the nmbd.pid file.


    If a single process ID is given, the message is sent to only that process.


    -

  • message-type is one of: debug, force-election, or ping. +
  • message-type is one of: debug, force-election, ping, profile, +or debuglevel.


    The debug 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.


    The force-election message-type can only be sent to the nmbd @@ -58,6 +60,15 @@ new browse master election.


    The ping 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. +


    The profile 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. +


    The debuglevel 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.


  • parameters is any parameters required for the message-type


    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 diff --git a/docs/yodldocs/smbcontrol.1.yo b/docs/yodldocs/smbcontrol.1.yo index 2960f38d28..4127a5d881 100644 --- a/docs/yodldocs/smbcontrol.1.yo +++ b/docs/yodldocs/smbcontrol.1.yo @@ -17,8 +17,9 @@ manpagedescription() This program is part of the bf(Samba) suite. -bf(smbcontrol) is a very small program, which sends messages to a url(bf(smbd))(smbd.8.html) -or a url(bf(nmbd))(nmbd.8.html) daemon running on the system. +bf(smbcontrol) is a very small program, which sends messages to an +url(bf(smbd))(smbd.8.html) or an url(bf(nmbd))(nmbd.8.html) daemon +running on the system. label(OPTIONS) manpageoptions() @@ -28,10 +29,10 @@ startdit() label(minusi) dit(bf(-i)) Run interactively. Individual commands of the form link(destination)(destination) link(message-type)(messagetype) link(parameters)(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. label(destination) -dit(bf(destination)) is one of "nmbd", "smbd" or a process ID +dit(bf(destination)) is one of "nmbd", "smbd" or a process ID. The bf(smbd) destination causes the message to be "broadcast" to all smbd daemons. @@ -43,7 +44,8 @@ If a single process ID is given, the message is sent to only that process. label(messagetype) -dit(bf(message-type)) is one of: debug, force-election, or ping. +dit(bf(message-type)) is one of: debug, force-election, ping, profile, +or debuglevel. The bf(debug) 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. @@ -56,6 +58,17 @@ The bf(ping) 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. +The bf(profile) 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. + +The bf(debuglevel) 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. + label(parameters) dit(bf(parameters)) is any parameters required for the message-type -- cgit