start of change

smbcstat Command

Purpose

Displays statistics information for the mount operation of the Server Message Block (SMB) client file system.

Syntax

/usr/sbin/smbcstat [-l] [-s <remote share> | -d <mount point>]

Description

The smbcstat command displays statistics information for the mount operation of the SMB client file system. You can view statistics information for a specific mounted remote directory, a specific mount point, or all mount points in the logical partition. If you do not specify any options, the smbcstat command lists statistics information for all SMB mount points in the logical partition.

Flags

-d mount point
Lists statistics information for the SMB mount point that is specified as an argument to this option.
-l
Lists statistics information for all SMB mount points.
-s remote share
Lists mount statistics information for the remote mount point that is specified as an argument to this option.

Exit status

0
Indicates success.
>0
Indicates error.

Example

  • To list statistics information for all the mount points in the SMB client file system, enter the following command:

    smbcstat -l
    For SMB protocol version 2.1, the command displays an output similar to the following example:
    Share Name      : PERFLOGS
    Protocol Used   : smb2.1
    Port            : 445
    Mount Name      : /mnt2
    Server Name     : 9.126.144.132
    User Name       : braz2lpa2usr1
    Domain Name     : SMB_30_2.DEV
    Signing State   : required
    Group Id        : 0
    User Id         : 0
    Mode            : 0
    SPN             : cifs/llm141.in.ibm.com
    ----------------------------
    Total Number of SMB Client Filesystem Mounts   : 1
    For SMB protocol version 3.0.2, the command displays an output similar to the following example:
    Share Name      : PERFLOGS
    Protocol Used   : smb3.0.2
    Port            : 445
    Mount Name      : /mnt1
    Server Name     : 9.126.144.132
    User Name       : braz2lpa2usr1
    Domain Name     : SMB_30_2.DEV
    Signing State   : required
    Group Id        : 0
    User Id         : 0 
    Mode            : 0
    Secure Negotiate: True
    Encryption state: True
    SPN             : cifs/llm141.in.ibm.com
    ----------------------------
    Total Number of SMB Client Filesystem Mounts   : 1
end of change