Subscribe

statistics command shortcut

Does anyone have a shortcut to commonly typed statistics commands?  For example, I type something like this a lot:

 

statistics show-periodic -object volume -instance <volume_name> -counter read_data|write_data|read_ops|write_ops|read_latency|write_latency

 

I'd like to create a shortcut to the counter so I don't have to type this all the time.  So something like 

 

statistics show-periodic -object volume -instance <volume_name> -counter <my_alias>