Skip to main content
Version: 3026.10 / 3026.11-mp

tsmb-status

Usage: tsmb-status [<option>,...] [<subcommand> [<parameter>,...]]

Available options:

OptionDescription
-c <path>Specifies a path to the configuration file. (Default is /etc/tsmb.conf)
-vShows the version.
-hShows the help message.

Available subcommands:

CommandDescription
statsList server statistics
helpDisplay this or command specific help message

tsmb-status stats​

This subcommand shows server statistics.

Usage: tsmb-status [<option>,...] stats [<parameter>,...]

Available Options:

OptionDescription
-c <path>Specifies a path to the configuration file. (Default is /etc/tsmb.conf)

Available parameters:

ParameterDescription
--category <category>[,<category>,...]A comma-separated list of the categories to retrieve. The name of a protocol, for example nfs, selects all categories of that protocol. A category without a protocol, for example session, selects that category for every protocol. <category> is one of:
• all: (Default) Retrieve statistics from all the categories.
• smb: Retrieve every category of SMB statistics.
• nfs: Retrieve every category of NFS statistics.
• connection: Retrieve statistics about the connections of every protocol.
• session: Retrieve statistics about the sessions of every protocol.
• smb.connection: Retrieve statistics about SMB connections.
• smb.session: Retrieve statistics about SMB sessions.
• nfs.connection: Retrieve statistics about NFS connections.
• nfs.session: Retrieve statistics about NFS sessions.
• nfs.client, client: Retrieve statistics about NFS client records.
• nfs.gss-context, gss-context: Retrieve statistics about the RPCSEC_GSS contexts of NFS.
--format <format>Specify the format in which to output the statistics, where <format> is one of:
• tabular: (Default) Output in a tabular format.
• json: Output in JSON format.
--verboseShow internal statistics.
-hShows the help message.

The fields of the SMB connection and session categories are described in detail in the Server Statistics section of the documentation.

tsmb-status help​

This subcommand shows the help message for the tsmb-status command.