Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
smbstat [-di]
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.
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.
Shows the following information for the CIFS server: connections
Number of CIFS connections.
Number of files open on the CIFS server.
Number of active CIFS sessions.
The following exit values are returned: 0
Successful completion.
An error occurred.
See the attributes(5) man page for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE |
Interface Stability Uncommitted |
Utility Output Format Not-an-Interface |
sharectl(1M), sharemgr(1M), smbadm(1M), smbstat(1M), attributes(5)