HPE 3PAR StoreServ Storage

Re: CLI check performance VV

 
SOLVED
Go to solution
francisco82
Advisor

CLI check performance VV

hi Comunity,

I need to run a command to get an output with the average BW of each VV for a week, but I'm not sure if the correct command is this:

cmore srstatvlun -attime -hourly -btsecs -7d -groupby VV_NAME -sortcol 6,dec

 

any body know if is correct this comand to get it or if there is any way to do it?

 

NOTE: i know that is possible have this information using the SSMC but i need do it using the CLI

 

Regards...

4 REPLIES 4
sbhat09
HPE Pro

Re: CLI check performance VV

Hi Francis,

I reviewed the command. It is correct.

You can proceed with that and let us know if there are any challenges.

Regards,

Srinivas Bhat

If you feel this was helpful please click the KUDOS! thumb below!


I am an HPE Employee

Accept or Kudo

francisco82
Advisor

Re: CLI check performance VV

hi  sbhat09 , thank very much for you answer,

 but let me show you why i say "i dont know if it is the correct comand"

if i check the Total_BW of the VV zzzzzzz1  we can see that the value is "269067.2" and the time is "2021-02-03 12:00:00 CET"

 xxxx3par01 cli% cmore srstatvlun -attime -hourly -btsecs -7d -groupby VV_NAME -sortcol 6,dec
Time: *2021-02-03 12:00:00 CET (1612350000)*
---------IO/s--------- ----------KBytes/s---------- -----Svct ms----- ----IOSz KBytes----
VV_NAME Rd Wr Tot Rd Wr Tot Rd Wr Tot Rd Wr Tot QLen AvgBusy%
zzzzzzz1 286.8 5.9 292.6 269005.8 61.5 *269067.2* 11.33 1.21 11.13 938.1 10.5 919.5 4 22.9
zzzzzzz12 472.1 28.5 500.7 160995.7 1412.0 162407.7 6.07 17.04 6.69 341.0 49.5 324.4 3 10.2

but if i run the same command to the VV zzzzzzz1  witout the groupby and attime.. i can see a diferent value (end of the colum Total_BW=9227.8):

xxxx3par01 cli% srstatvlun -hourly -btsecs -7d -vv zzzzzzz1 
------IO/s------ -------KBytes/s-------- -----Svct ms----- --IOSz KBytes---
Time Secs Rd Wr Tot Rd Wr Tot Rd Wr Tot Rd Wr Tot QLen AvgBusy%
2021-01-27 13:00:00 CET 1611748800 376.9 4.8 381.8 364363.7 31.7 364395.5 21.64 3.23 21.41 966.6 6.6 954.5 2 35.3
2021-01-27 14:00:00 CET 1611752400 173.9 6.0 179.9 129643.4 48.7 129692.1 14.33 1.45 13.90 745.4 8.2 721.0 1 11.4
2021-01-27 15:00:00 CET 1611756000 56.8 4.1 60.9 2396.0 26.7 2422.7 0.43 0.65 0.45 42.2 6.6 39.8 1 0.3
2021-01-27 16:00:00 CET 1611759600 45.0 4.9 49.8 1806.9 30.4 1837.3 0.55 0.84 0.58 40.2 6.3 36.9 0 0.4

.
.
.
2021-02-03 10:00:00 CET 1612342800 153.5 5.5 159.0 126122.2 35.2 126157.5 9.47 1.35 9.20 821.5 6.4 793.5 4 11.4
2021-02-03 11:00:00 CET 1612346400 261.8 4.8 266.6 245807.7 31.4 245839.1 10.22 1.03 10.06 938.9 6.6 922.2 5 20.7
2021-02-03 12:00:00 CET 1612350000 286.8 5.9 292.6 269005.8 61.5 *269067.2* 11.33 1.21 11.13 938.1 10.5 919.5 4 22.9
----------------------------------------------------------------------------------------------------------------------------
168 55.3 4.9 60.2 9187.1 40.8 *9227.8* 2.46 1.00 2.34 166.1 8.4 153.4 0.2 1.0

 

the command "cmore srstatvlun -attime -hourly -btsecs -7d -groupby VV_NAME -sortcol 6,dec" showme the Total_BW of  all VV on day 2021-02-03  at 12:00:00 and not the total BW that i can see with te command "srstatvlun -hourly -btsecs -7d -vv zzzzzzz1" in the end of the colum Total_BW 

 

I indicate the values with a "*"

 

and i dont know what is the vlue correct, would you have any idea what the correct value would be?

NOTE:I hope you can understand my explanation jejej

Regards and thank a lot...

 

 

sbhat09
HPE Pro

Re: CLI check performance VV

Hi Francis,

The difference between the 2 commands is, with '-attime' option, performance is shown at a particular time interval. Without this option, performance is shown versus time.

Regards,

Srinivas Bhat

If you feel this was helpful please click the KUDOS! thumb below!


I am an HPE Employee

Accept or Kudo

veeyarvi
HPE Pro
Solution

Re: CLI check performance VV

Hi Francisco,

 

Sorry, but I am not 100% sure on what is the question.

If my understanding is correct, the confusion is between the values in the output (269067.2 & 9227.8) of srstatvlun -hourly -btsecs -7d -vv.  Please correct me if I am wrong.

The value in the line above (269067) points to that particular timing only. i.e. 2021-02-03 12:00:00. The one below is the total- i.e average for the complete 7 days. This is my understanding.

 

Regards,

Veeyaarvi

 

I work for HPE


I am an HPE Employee
Accept or Kudo