summaryrefslogtreecommitdiff
path: root/docs/yodldocs/smbcontrol.1.yo
blob: 4127a5d88188d122223e849de8f9f422c00d35a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
mailto(samba@samba.org) 

manpage(smbcontrol htmlcommand((1)))(1)(29 Sep 2000)(Samba)(SAMBA)

label(NAME)
manpagename(smbcontrol)(send messages to smbd or nmbd processes)

label(SYNOPSIS)
manpagesynopsis() 

bf(smbcontrol) link(-i)(minusi)

bf(smbcontrol) link(destination)(destination) link(message-type)(messagetype) link(parameters)(parameters)

label(DESCRIPTION)
manpagedescription()

This program is part of the bf(Samba) suite.

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()

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 or a "q" will quit the program.

label(destination)
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.

The bf(nmbd) destination causes the message to be sent to the nmbd
daemon specified in the bf(nmbd.pid) file.

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, 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.

The bf(force-election) message-type can only be sent to the bf(nmbd)
destination. This message causes the bf(nmbd) daemon to force a
new browse master election.

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

enddit()

label(VERSION)
manpagesection(VERSION)

This man page is correct for version 2.2.0 of the Samba suite.

label(SEEALSO)
manpageseealso()

url(bf(smbd (8)))(smbd.8.html), url(bf(nmbd (8)))(nmbd.8.html)

label(AUTHOR)
manpageauthor()

The original Samba software and related utilities were created by
Andrew Tridgell email(samba@samba.org). Samba is now developed
by the Samba Team as an Open Source project similar to the way the
Linux kernel is developed.

This man page source was written in YODL format (another excellent piece of Open
Source software, available at
url(bf(ftp://ftp.icce.rug.nl/pub/unix/))(ftp://ftp.icce.rug.nl/pub/unix/))
for the Samba 2.2.0 release by Herb Lewis.
email(samba@samba.org).

See url(bf(samba (7)))(samba.7.html) to find out how to get a full
list of contributors and details on how to submit bug reports,
comments etc.