man pages section 1M: System Administration Commands
  Search only this book
Download this book in PDF (9905 KB)

smbstat(1M)

Name | Synopsis | Description | Options | Exit Status | Attributes | See Also

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 

    Availability 

    SUNWsmbsu 

    Interface Stability 

    Uncommitted 

    Utility Output Format 

    Not-an-Interface 

See Also

SunOS 5.11  Last Revised 4 Aug 2008

Name | Synopsis | Description | Options | Exit Status | Attributes | See Also