smbstat(1M) System Administration Commands smbstat(1M)NAME
smbstat - show Solaris CIFS file server statistics
SYNOPSIS
smbstat [-di]
DESCRIPTION
The smbstat command shows statistical information for the smbd server. When the -i option is specified, the smbstat command shows general
information about the CIFS service. For instance, smbstat -i shows the number of sessions, connections, and open files. The -d option shows
dispatched CIFS request counters.
By default, the smbstat command shows all statistics.
OPTIONS
The smbstat command includes the following options:
-d
Shows all the dispatched CIFS requests on the CIFS server. This option shows count statistics based on request activity.
-i
Shows the following information for the CIFS server:
connections
Number of CIFS connections.
open_files
Number of files open on the CIFS server.
sessions
Number of active CIFS sessions.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See the attributes(5) man page for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsmbsu |
+-----------------------------+-----------------------------+
|Interface Stability |Uncommitted |
+-----------------------------+-----------------------------+
|Utility Output Format |Not-an-Interface |
+-----------------------------+-----------------------------+
SEE ALSO sharectl(1M), sharemgr(1M), smbadm(1M), smbstat(1M), attributes(5)SunOS 5.11 4 Aug 2008 smbstat(1M)
Check Out this Related Man Page
smb(4) File Formats smb(4)NAME
smb - configuration properties for Solaris CIFS server
DESCRIPTION
Behavior of the Solaris CIFS server is defined by property values that are stored in the Service Management Facility, smf(5).
An authorized user can use the sharectl(1M) command to set global values for these properties in SMF.
The following list describes the properties:
ads_site
Specifies the site configured in DNS to look up Active Directory information. An Active Directory site is the local Active Directory NT
domain name that has a different subnet controlling the Active Directory server.
The value should not be set if you do not have a local Active Directory site or if the same subnet is used by the local Active Direc-
tory NT domain. By default, no value is set.
autohome_map
Specifies the full path for the autohome map file, smb_autohome.map. The default path is /etc.
ddns_enable
Enables or disables dynamic DNS updates. A value of true enables dynamic updates, while a value of false disables dynamic updates. By
default, the value is false.
keep_alive
Specifies the number of seconds before an idle SMB connection is dropped by the Solaris CIFS server. If set to 0, idle connections are
not dropped. Valid values are 0 and from 20 seconds and above. The default value is 5400 seconds.
lmauth_level
Specifies the LAN Manager (LM) authentication level. The LM compatibility level controls the type of user authentication to use in
workgroup mode or domain mode. The default value is 3.
The following describes the behavior at each level.
2 In Windows workgroup mode, the Solaris CIFS server accepts LM, NTLM, LMv2, and NTLMv2 responses. In NT domain mode, the
SMB redirector on the Solaris CIFS server sends NTLM responses.
3 In Windows workgroup mode, the Solaris CIFS server accepts LM, NTLM, LMv2, and NTLMv2 responses. In NT domain mode, the
SMB redirector on the Solaris CIFS server sends LMv2 and NTLMv2 responses.
4 In Windows workgroup mode, the Solaris CIFS server accepts NTLM, LMv2, and NTLMv2 responses. In NT domain mode, the SMB
redirector on the Solaris CIFS server sends LMv2 and NTLMv2 responses.
5 In Windows workgroup mode, the Solaris CIFS server accepts LMv2 and NTLMv2 responses. In NT domain mode, the SMB redirec-
tor on the Solaris CIFS server sends LMv2 and NTLMv2 responses.
netbios_scope
Specifies the NetBIOS scope identifier, which identifies logical NetBIOS networks that are on the same physical network. When you spec-
ify a NetBIOS scope identifier, the server is only able to communicate with other systems that have the same scope defined. The value
is a text string that represents a domain name and is limited to 16 characters. By default, no value is set.
Most environments do not require the use of the NetBIOS scope feature. If you must use this feature, ensure that you track the scope
identifier assigned to each node.
oplock_enable
Enables or disables opportunistic lock (oplock) support on the Solaris CIFS server. A Solaris CIFS server grants an oplock to a client
process so that the client can cache data for while the lock is in place. When the server revokes the oplock, the client flushes its
cached data to the server.
A value of true enables oplock support, while a value of false disables oplock support. The default value is true.
Oplocks can typically be left enabled to obtain the performance benefits of client-side caching. In some circumstances, such as with
some database applications, the application vendor might recommend that client-side caching be disabled to ensure that transactions are
always committed immediately to the server.
pdc
Specifies the preferred IP address for the domain controller. This property is sometimes used when there are multiple domain con-
trollers to indicate which one is preferred. If the specified domain controller responds, it is chosen even if the other domain con-
trollers are also available. By default, no value is set.
restrict_anonymous
Disables anonymous access to IPC$, which requires that the client be authenticated to get access to MS-RPC services through IPC$. A
value of true enables anonymous access to IPC$, while a value of false disables this anonymous access. The default value is false.
system_comment
Specifies an optional description for the system, which is a text string. This property value might appear in various places, such as
Network Neighborhood or Network Places on Windows clients. By default, no value is set.
wins_exclude
Specifies a comma-separated list of network interfaces that should not be registered with WINS. NetBIOS host announcements are made on
excluded interfaces.
wins_server_1
Specifies the IP address of the primary WINS server. By default, no value is set.
wins_server_2
Specifies the IP address of the secondary WINS server. By default, no value is set.
ATTRIBUTES
See the attributes(5) man page for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsmbsu |
+-----------------------------+-----------------------------+
|Interface Stability |Uncommitted |
+-----------------------------+-----------------------------+
SEE ALSO sharectl(1M), smbadm(1M), smbd(1M), smbstat(1M), attributes(5), smf(5)SunOS 5.11 17 Nov 2008 smb(4)