xref: /titanic_50/usr/src/man/man1m/smbstat.1m (revision 048b02791572fec28722a0c06dec096503552ca7)
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 "4 Aug 2008" "SunOS 5.11" "System Administration Commands"
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 TYPEATTRIBUTE VALUE
Interface StabilityUncommitted
Utility Output FormatNot-an-Interface
SEE ALSO

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