Skip to main content

vserver consistency-group metrics show

Contributors
Suggest changes

Display a list of existing consistency group metrics

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

Description

This command displays metrics for consistency groups.

Parameters

{ [-fields <fieldname>,…​]

This specifies the fields that need to be displayed.

| [-instance ] }

This specifies the additional consistency group metrics details.

[-timestamp <MM/DD/YYYY HH:MM:SS>] - Timestamp of the Sample

Selects information about the consistency group metrics under the specified timestamp.

-consistency-group <text> - Consistency Group Name

Selects information about the metrics of a specified consistency group.

[-vserver <Vserver Name>] - Vserver Name

Selects information about the consistency groups metrics in the specified Vserver.

[-parent-consistency-group <text>] - Parent Consistency Group Name

Selects information about the metrics of a specified parent consistency group.

[-interval {1h|1d|1w|1m|1y}] - Interval of Consistency Group Metrics

Selects information about the consistency group metrics under the specified interval.

[-status {ok|error|partial_no_data|partial_no_response|partial_other_error|negative_delta|not_found|backfilled_data|inconsistent_delta_time|partial_no_uuid|undefined}] - Status of the Sample

Shows information about the consistency group metrics under the specified status.

[-duration <text>] - Duration of Time Used to Measure the Sample

Shows information about the consistency group metrics under the specified duration.

[-available-space <integer>] - Available Space in the Consistency Group

Shows information about the consistency group metrics under the specified space availability.

[-used-space <integer>] - Space Used in the Consistency Group

Shows information about the consistency group metrics under the specified used space.

[-size <integer>] - Size of the Consistency Group

Shows information about the consistency group metrics under the specified size.

[-latency-read <integer>] - Latency of Read Operations (us)

Shows information about the consistency group metrics under the specified read latency.

[-latency-write <integer>] - Latency of Write Operations (us)

Shows information about the consistency group metrics under the specified write latency.

[-latency-other <integer>] - Latency of Other Operations (us)

Shows information about the consistency group metrics under the specified other latency.

[-latency-total <integer>] - Total Latency over All Operations (us)

Shows information about the consistency group metrics under the specified total latency.

[-iops-read <integer>] - Number of Read Operations

Shows information about the consistency group metrics under the specified read iops.

[-iops-write <integer>] - Number of Write Operations

Shows information about the consistency group metrics under the specified write iops.

[-iops-other <integer>] - Number of Other Operations

Shows information about the consistency group metrics under the specified other iops.

[-iops-total <integer>] - Total number of Operations

Shows information about the consistency group metrics under the specified total iops.

[-throughput-read <integer>] - Throughput of Read Operations (bytes/s)

Shows information about the consistency group metrics under the specified read throughput.

[-throughput-write <integer>] - Throughput of Write Operations (bytes/s)

Shows information about the consistency group metrics under the specified write throughput.

[-throughput-other <integer>] - Throughput of Other Operations (bytes/s)

Shows information about the consistency group metrics under the specified other throughput.

[-throughput-total <integer>] - Total throughput over all Operations (bytes/s)

Shows information about the consistency group metrics under the specified total throughput.

Examples

The following command lists all the historical metrics for 1 hour interval for consistency group cg1 on Vserver vs0.
    SimpleClus::*> vserver consistency-group metrics show -vserver vs0 -consistency-group cg1 -interval -1h
    (vserver consistency-group metrics show)
                                               Iops       Latency    Throughput
Timestamp            Status           Duration Total      Total      Total
-------------------- ---------------- -------- ---------- ---------- ----------
10/31/2023 19:33:45  ok               PT15S             0          0          0
10/31/2023 19:33:30  partial_no_data  PT15S             0          0          0
10/31/2023 19:33:15  partial_no_data  PT15S             0          0          0
10/31/2023 19:33:00  partial_no_data  PT15S             0          0          0
The following command lists all the timestamps in historical metrics iops for 1 day interval for consistency group cg1 on Vserver vs0 where write iops were greater than 100.
    SimpleClus::*> vserver consistency-group metrics show -vserver vs0 -consistency-group cg1 -fields iops-write -interval 1d -iops-write >100
    (vserver consistency-group metrics show)
timestamp            iops-write
-------------------- ----------
"4/25/2024 15:35:00" 101
"4/24/2024 17:30:00" 105
"4/24/2024 17:25:00" 102
3 entries were displayed.
The following command lists all the timestamps in historical metrics for 1 day interval for consistency group cg1 on Vserver vs0 where other iops were between a given interval.
    SimpleClus::*> vserver consistency-group metrics show -vserver vs0 -consistency-group cg1 -interval 1d -fields iops-other -iops-other 1078..1070|590..600
    (vserver consistency-group metrics show)
timestamp            iops-other
-------------------- ----------
"4/25/2024 13:55:00" 1078
"4/25/2024 13:50:00" 1074
"4/25/2024 13:45:00" 1070
"4/25/2024 03:55:00" 598
"4/25/2024 03:50:00" 594
5 entries were displayed.
The following command lists all the historical metrics for 1 day interval for consistency group cg1 on Vserver vs0 with a given timestamp when throughput write was more than 1102.
    SimpleClus::*> vserver consistency-group metrics show -vserver vs0 -consistency-group cg1-interval 1d -fields throughput-total -timestamp "4/25/2024 14:30:00".."4/25/2024 13:25:00" -throughput-write >=1102
    (vserver consistency-group metrics show)
timestamp            throughput-total
-------------------- ---------------
"4/25/2024 14:30:00" 1106
"4/25/2024 14:25:00" 1102
2 entries were displayed.