Subscribe
Accepted Solution

DFM commands to list avg-latency on luns within a time frame

I am seeking for command line to list the highest peak latency within a time window on all individual luns in a volume.

if we can not do that in one command, then what about just list the latency on an particular lun?

I don't feel i can do that in GUI, so, looking for your help on CLI. THANKS!

Re: DFM commands to list avg-latency on luns within a time frame

You should be able to do it with dfm perf data retrieve

Regards

adai

Re: DFM commands to list avg-latency on luns within a time frame

hi Adai,

Could you please show me a full command as an example?

Re: DFM commands to list avg-latency on luns within a time frame

lun stats -c 5 -i 5 <lun path>

Regards,

Sathish

Re: DFM commands to list avg-latency on luns within a time frame

Sathish,

I am asking for a DFM command and about historic data on a particular time window.

Thanks for your reply.

Re: DFM commands to list avg-latency on luns within a time frame

Let me help you teach fishing rather than catch fish.

dfm perf data retrieve { [ -o object-name-or-id ... ] [ -C perf-counter ... ]

[ -V view-name ] }

[ -d duration ] [ -b start-time ] [ -e end-time ]

[ -M month ... ] [ -D weekday ... ] [ -T time-range ... ]

[ -m statistical-method [ -P percentile-value ]

[ -S data-advance-method ] ]

[ -s sample-rate ] [ -x output-format ] [ -R ]

It does not tell you what correct values are for things like:

            -b start-time                             (format YYYY-MM-DD hh:mm:ss)

            -e end-time                              (format YYYY-MM-DD hh:mm:ss)

            -M month ...                          

            -D weekday ...                                  

            -T time-range                         

            -m statistical-method              (values min, max, mean, value_at_percentile)

            -P percentile-value                  (decimal, e.g. 95 for 95th percentile)

            -S data-advance-method       

            -s sample-rate                        

            -x output-format                                 Need CSV file output!

            -R                                                      

1) To get the data for the last 5 minutes :

dfm perf data retrieve -o mpo-vsim16 -C volume:total_ops -d 300

2) To get the data between two different intervals:

dfm perf data retrieve -o mpo-vsim16 -C volume:total_ops -b "2013-08-20 07:50:00" -e "2013-08-20 8:00:00"

3) To get the data of a View for last 5 minutes:

dfm perf data retrieve -o mpo-vsim16 -V "Volume Summary View" -d 300

4) To get the Minimum value for the Specified interval of 5 minutes in a View :

dfm perf data retrieve -o mpo-vsim16 -V "Storage System Summary View" -d 300 -m min

5) To get the list of Views available :

dfm perf view list

Hope this helps.

Regards

adai

Re: DFM commands to list avg-latency on luns within a time frame

Hi,

for the historic data&colon;

dfm perf data retrieve -o "Ctrl_name" -C "counter_name" -D "day_range" -e "end_date" -b "begin_date" -T "time_range" -m max

for example the maximum processor_busy during Monday to Friday between 7AM to 7PM through the 1st and 30 October

dfm perf data retrieve -o "CTRL_NAME" -C system:avg_processor_busy -D Mon,Tue,Wed,Thu,Fri -e 2013-09-30 -b 2013-09-01 -T 07.00-19.00 -m max

Regards

Emeric