xref: /titanic_41/usr/src/man/man1m/smbstat.1m (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
te
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 1M "Aug 4, 2008"
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
Interface Stability Uncommitted
Utility Output Format Not-an-Interface
SEE ALSO

sharectl(1M), sharemgr(1M), smbadm(1M), smbstat(1M), attributes(5)