1 | SmbMon - Samba Server Status Monitor Version 1.9-preview
|
---|
2 | ========================================================
|
---|
3 |
|
---|
4 | CONTENTS:
|
---|
5 |
|
---|
6 | 1. Introduction
|
---|
7 | 2. Installation
|
---|
8 | 3. Usage
|
---|
9 | 4. Author
|
---|
10 |
|
---|
11 |
|
---|
12 | 1. Introduction:
|
---|
13 | ----------------
|
---|
14 |
|
---|
15 | This is a utility that presents the output of smbstatus smbd in a convenient
|
---|
16 | notebook GUI with 6 pages:
|
---|
17 |
|
---|
18 | - Users
|
---|
19 | - Files
|
---|
20 | - Services
|
---|
21 | - Daemons
|
---|
22 | - LAN Ressources
|
---|
23 | - Settings
|
---|
24 |
|
---|
25 | 2. Installation:
|
---|
26 | ----------------
|
---|
27 |
|
---|
28 | Put smbmon.exe into the Samba directory and create an object for it.
|
---|
29 | Make sure you have smb.cmd from the smb_init* package in the Samba
|
---|
30 | directory.
|
---|
31 |
|
---|
32 | 3. Usage:
|
---|
33 | ---------
|
---|
34 |
|
---|
35 | The presentation of the information is pretty straightforward from what
|
---|
36 | smbstatus smbd shows, with the exception of the files page, which is IMHO
|
---|
37 | organized in a more efficient way.
|
---|
38 |
|
---|
39 | Right clicking on the heads of the columns opens a context menu, which
|
---|
40 | allows to customize which columns should be shown. THis layout is saved
|
---|
41 | across sessions.
|
---|
42 |
|
---|
43 | The status refreshes itself every 60 seconds per default, but this is can be
|
---|
44 | configured using the spinbutton at the bottom of the window. A timed refresh
|
---|
45 | only happens as long smbmon is in not in the background. If it is brought to
|
---|
46 | the foreground, all pages are refreshed immediately.
|
---|
47 |
|
---|
48 | The users page has a context menu, which enables the user to send netmsg/
|
---|
49 | winpopup style messages to other machines.
|
---|
50 |
|
---|
51 | The service page has a context menu, which enables the user to force the
|
---|
52 | closing of the selected share.
|
---|
53 |
|
---|
54 | The daemon page can be displayed in 2 different styles:
|
---|
55 | - The details view (this has been there from the start)
|
---|
56 | - The icon tree view. This view shows which process ID corresponds to which
|
---|
57 | user and which files are opened by this user (so in case something goes wrong
|
---|
58 | you get an idea what might be affected or even what might be the reason for
|
---|
59 | the problem).
|
---|
60 | - The daemon page has a context menu, which enables the user to selectively
|
---|
61 | stop daemons. In addition the user can ping either a daemon or a single PID
|
---|
62 | of a daemon.
|
---|
63 |
|
---|
64 | On the bottom of the daemon page the server uptime is displayed. This value
|
---|
65 | is determined from the timestamp of nmbd.pid, which does not change during
|
---|
66 | the time the server is run. If nmbd.exe is not used, this value will be empty.
|
---|
67 |
|
---|
68 | The LAN ressources page always has to be refreshed manually as it takes some
|
---|
69 | time to complete operation. As long as smbmon is single threaded this blocks
|
---|
70 | the GUI!
|
---|
71 |
|
---|
72 | The fonts of the GUI can be configured via D'n'D and result are best if
|
---|
73 | 8.Helv or 9.WarpSans is chosen.
|
---|
74 |
|
---|
75 | In case you also have smb.cmd from the smb_init package installed, smbmon
|
---|
76 | will allow you to start/stop/restart the Samba daemons and reload smb.conf.
|
---|
77 |
|
---|
78 | 4. Author:
|
---|
79 | ----------
|
---|
80 | Herwig Bauernfeind, 19-05-2009
|
---|
81 | email: herwig.bauernfeind@aon.at
|
---|