Skip to main content
A newer release of this product is available.

statistics samples show

Contributors
Suggest changes

Display statistics samples

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

Description

This command displays information about the samples that you created using the statistics start command.

Parameters

[-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-describe ] (privilege: advanced) }

Displays detailed information about each sample.

[-vserver <vserver name>] - Vserver (privilege: advanced)

Selects the samples that match this parameter value. If you omit this parameter, the command displays details for all samples.

[-sample-id <text>] - Sample Identifier (privilege: advanced)

Selects the samples that match this parameter value. If you do not specify this parameter, the command will display information about all the samples in the cluster.

Examples

The following example displays information for sample "smpl_1":

cluster1::*> statistics samples show -sample-id smpl_1
Vserver          Sample ID            Start Time     Stop Time      Status
 ---------------- -------------------- -------------- -------------- ----------
 cluster-d1       smpl_1               09/13 18:06:46 -              Ready

The following example displays detailed information for sample "smpl_1":

cluster1::*> statistics samples show -sample-id smpl_1 -describe
Vserver: vs1
 Sample ID: smpl_1
    Object: processor
  Instance: -
   Counter: -
Start Time: 09/13 18:06:46
 Stop Time: -
    Status: Ready       - -
 Privilege: admin