Skip to main content

statistics namespace show

Contributors
Suggest changes

Namespace throughput and latency metrics

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

This command continuously displays performance data for Namespaces at a regular interval. The command output displays data in the following columns:

  • Namespace - Namespace name.

  • Vserver - vserver name.

  • Total Ops - total number of operations per second.

  • Read Ops - read operations per second.

  • Write Ops - write operations per second.

  • Other Ops - other operations per second.

  • Read (Bps) - read throughput in bytes per second.

  • Write (Bps) - write throughput in bytes per second.

  • Latency(ms) - average latency for an operation in milliseconds.

Parameters

[-namespace <text>] - Namespace

Selects the Namespace for which you want to display performance data.

[-vserver <vserver name>] - Vserver

Selects the vserver for which you want to display performance data.

[-sort-key <text>] - Column to Sort By

If this parameter is specified, the command displays statistics sorted by the specified column.

-interval <integer> - Interval

Specifies, in seconds, the interval between statistics updates. The default setting is 5 seconds.

-iterations <integer> - Iterations

Specifies the number of iterations the command runs before terminating. The default setting is 1. If the number is 0 (zero), the command continues to run until you interrupt it by pressing Ctrl-C.

-max <integer> - Maximum Number of Instances

Specifies the maximum number of Namespaces to display. The default setting is 25.

Examples

The following example displays Namespace statistics:

cluster1::> statistics namespace show
cluster1 : 12/31/2017 16:00:04
*Total Read Write Other   Read Write Latency
  Namespace Vserver    Ops  Ops   Ops   Ops  (Bps) (Bps)    (ms)
 ---------- ------- ------ ---- ----- ----- ------ ----- -------
 ns1            vs1     58   13    15    29 310585  3014      39
 ns0            vs2     56    0    11    45   8192 28826      47
[...]