hsm qos metrics reset

Reset the partition utilization metrics, and optionally display the counts or save to a file.

NOTE   This feature requires minimum firmware version 7.3.0, appliance software 7.3, and client 7.3. See Version Dependencies by Feature for more information.

User Privileges

This command requires that the HSM SO be logged in. Appliance Users with the following privileges can perform this command:

>Admin

Syntax

hsm qos metrics reset [-display] [-export <filename>] [-force]

Argument(s) Shortcut Description

-display

-d Display the utilization counts, up to the moment they are reset.

-export <filename>

-e Export the utilization counts, up to the moment of reset, to the named file.
-force -f Force the action without prompting for confirmation.

Example

With no arguments (reset only - no display, no save):

lunash:>hsm qos metrics reset

CAUTION:  Are you sure you wish to reset the utlilization counters?
          All counters across all partitions will be zeroized.

          Type 'proceed' to reset the counters, or 'quit'
          to quit now.
          > proceed

Successfully reset all utilization counters and restarted count.

Command Result : 0 (Success)
  

With arguments (output to terminal):

lunash:>hsm qos metrics reset -display 

CAUTION:  Are you sure you wish to reset the utlilization counters?
          All counters across all partitions will be zeroized.

          Type 'proceed' to reset the counters, or 'quit'
          to quit now.
          > proceed

Successfully reset all utilization counters and restarted count.

           Partition
----------------------------------
Name            Serial          Operation       Action      Count
==============  ==============  ==============  ==========  ==============
test            1230463154880   SIGN            REQUESTS                 0
test            1230463154880   VERIFY          REQUESTS                 0
test            1230463154880   ENCRYPT         REQUESTS                 0
test            1230463154880   DECRYPT         REQUESTS                 0
test            1230463154880   KEY_GENERATION  REQUESTS                 0
test            1230463154880   KEY_DERIVATION  REQUESTS                 0

par1            1230463154886   SIGN            REQUESTS        4700342794  
par1            1230463154886   VERIFY          REQUESTS        4700342747  
par1            1230463154886   ENCRYPT         REQUESTS                 0
par1            1230463154886   DECRYPT         REQUESTS                 0
par1            1230463154886   KEY_GENERATION  REQUESTS                 2
par1            1230463154886   KEY_DERIVATION  REQUESTS                 0  

Summary of metrics:

SIGN            :       4700342794  
VERIFY          :       4700342747 
ENCRYPT         :                0
DECRYPT         :                0
KEY_DERIVATION  :                0
KEY_GENERATION  :                2

Metrics valid since 19 December 2018 22:24:43

Command Result : 0 (Success)

With arguments (output to file):

lunash:>hsm qos metrics reset -export myparmetricsfile  

CAUTION:  Are you sure you wish to reset the utlilization counters?
          All counters across all partitions will be zeroized.

          Type 'proceed' to reset the counters, or 'quit'
          to quit now.
          > proceed

Successfully reset all utilization counters and restarted count.
Successfully exported metrics to file.

Command Result : 0 (Success)  

With arguments (display and output to file):

lunash:>hsm qos metrics reset -display -export todaysmetrics.cvs

CAUTION:  Are you sure you wish to reset the utilization counters?
          All counters across all partitions will be zeroized.

          Type 'proceed' to reset the counters, or 'quit'
          to quit now.
          > proceed

Successfully reset all utilization counters and restarted count.

Partition Name  Serial         Operation        Action      Count
==============  =============  ==========       ==========  =======
test            1230463154880  SIGN             REQUESTS              0
test            1230463154880  VERIFY           REQUESTS              0
test            1230463154880  ENCRYPT          REQUESTS              0
test            1230463154880  DECRYPT          REQUESTS              0
test            1230463154880  KEY_GENERATION   REQUESTS              0
test            1230463154880  KEY_DERIVATION   REQUESTS              0

par1            1230463154886   SIGN            REQUESTS           1000
par1            1230463154884   VERIFY          REQUESTS           1000
par1            1230463154884   ENCRYPT         REQUESTS              0
par1            1230463154884   DECRYPT         REQUESTS              0
par1            1230463154884   KEY_GENERATION  REQUESTS              0
par1            1230463154884   KEY_DERIVATION  REQUESTS              0

par2            1230463154887   SIGN            REQUESTS     4700342794
par2            1230463154887   VERIFY          REQUESTS     4700342747
par2            1230463154887   ENCRYPT         REQUESTS              0
par2            1230463154887   DECRYPT         REQUESTS              0
par2            1230463154887   KEY_GENERATION  REQUESTS              0
par2            1230463154887   KEY_DERIVATION  REQUESTS              0

Summary of metrics:

SIGN            :       4700343794  
VERIFY          :       4700343747  
ENCRYPT         :                0
DECRYPT         :                0
KEY_DERIVATION  :                0
KEY_GENERATION  :                0 

Metrics valid since 18 December 2018 16:57:11

Successfully exported metrics to file.

Command Result : 0 (Success)