2 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH SMBSTAT 1M "Aug 4, 2008"
8 smbstat \- show Solaris CIFS file server statistics
12 \fBsmbstat\fR [\fB-di\fR]
18 The \fBsmbstat\fR command shows statistical information for the \fBsmbd\fR
19 server. When the \fB-i\fR option is specified, the \fBsmbstat\fR command shows
20 general information about the \fBCIFS\fR service. For instance, \fBsmbstat\fR
21 \fB-i\fR shows the number of sessions, connections, and open files. The
22 \fB-d\fR option shows dispatched \fBCIFS\fR request counters.
25 By default, the \fBsmbstat\fR command shows all statistics.
29 The \fBsmbstat\fR command includes the following options:
37 Shows all the dispatched \fBCIFS\fR requests on the \fBCIFS\fR server. This
38 option shows count statistics based on request activity.
48 Shows the following information for the \fBCIFS\fR server:
52 \fB\fBconnections\fR\fR
56 Number of \fBCIFS\fR connections.
62 \fB\fBopen_files\fR\fR
66 Number of files open on the \fBCIFS\fR server.
76 Number of active \fBCIFS\fR sessions.
84 The following exit values are returned:
91 Successful completion.
106 See the \fBattributes\fR(5) man page for descriptions of the following
115 ATTRIBUTE TYPE ATTRIBUTE VALUE
117 Interface Stability Uncommitted
119 Utility Output Format Not-an-Interface
125 \fBsharectl\fR(1M), \fBsharemgr\fR(1M), \fBsmbadm\fR(1M), \fBsmbstat\fR(1M),