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