tsmb-status
Usage: tsmb-status [<option>,...] [<subcommand> [<parameter>,...]]
Available options:
| Option | Description |
|---|---|
-c <path> | Specifies a path to the configuration file. (Default is /etc/tsmb.conf) |
-v | Shows the version. |
-h | Shows the help message. |
Available subcommands:
| Command | Description |
|---|---|
stats | List server statistics |
help | Display this or command specific help message |
tsmb-status stats
This subcommand shows server statistics.
Usage: tsmb-status [<option>,...] stats [<parameter>,...]
Available Options:
| Option | Description |
|---|---|
-c <path> | Specifies a path to the configuration file. (Default is /etc/tsmb.conf) |
Available parameters:
| Parameter | Description |
|---|---|
--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. |
--verbose | Show internal statistics. |
-h | Shows 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.