6253 F_GETLK doesn't always return lock owner
[illumos-gate.git] / usr / src / man / man1m / smbstat.1m
blob7b9635d6252ff6c5924c7b3b99849f5924b7af59
1 '\" te
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"
7 .SH NAME
8 smbstat \- show Solaris CIFS file server statistics
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBsmbstat\fR [\fB-di\fR]
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
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.
23 .sp
24 .LP
25 By default, the \fBsmbstat\fR command shows all statistics.
26 .SH OPTIONS
27 .sp
28 .LP
29 The \fBsmbstat\fR command includes the following options:
30 .sp
31 .ne 2
32 .na
33 \fB\fB-d\fR\fR
34 .ad
35 .sp .6
36 .RS 4n
37 Shows all the dispatched \fBCIFS\fR requests on the \fBCIFS\fR server. This
38 option shows count statistics based on request activity.
39 .RE
41 .sp
42 .ne 2
43 .na
44 \fB\fB-i\fR\fR
45 .ad
46 .sp .6
47 .RS 4n
48 Shows the following information for the \fBCIFS\fR server:
49 .sp
50 .ne 2
51 .na
52 \fB\fBconnections\fR\fR
53 .ad
54 .sp .6
55 .RS 4n
56 Number of \fBCIFS\fR connections.
57 .RE
59 .sp
60 .ne 2
61 .na
62 \fB\fBopen_files\fR\fR
63 .ad
64 .sp .6
65 .RS 4n
66 Number of files open on the \fBCIFS\fR server.
67 .RE
69 .sp
70 .ne 2
71 .na
72 \fB\fBsessions\fR\fR
73 .ad
74 .sp .6
75 .RS 4n
76 Number of active \fBCIFS\fR sessions.
77 .RE
79 .RE
81 .SH EXIT STATUS
82 .sp
83 .LP
84 The following exit values are returned:
85 .sp
86 .ne 2
87 .na
88 \fB0\fR
89 .ad
90 .RS 13n
91 Successful completion.
92 .RE
94 .sp
95 .ne 2
96 .na
97 \fB>0\fR
98 .ad
99 .RS 13n
100 An error occurred.
103 .SH ATTRIBUTES
106 See the \fBattributes\fR(5) man page for descriptions of the following
107 attributes:
112 box;
113 c | c
114 l | l .
115 ATTRIBUTE TYPE  ATTRIBUTE VALUE
117 Interface Stability     Uncommitted
119 Utility Output Format   Not-an-Interface
122 .SH SEE ALSO
125 \fBsharectl\fR(1M), \fBsharemgr\fR(1M), \fBsmbadm\fR(1M), \fBsmbstat\fR(1M),
126 \fBattributes\fR(5)