VMware Solutions Discussions
VMware Solutions Discussions
Hi I am trying to get LUN statistics for a specified time scale output via the DFM console. I previously ran a script which outputted information as below:
Timestamp       FASA:/fcp_dw/vmfs_vol1:read_ops
-------------------------------------------------------------------------------
2011-12-01 16:16:40     372.000
2011-12-01 16:17:40     327.267
Timestamp       FASA:/fcp_dw/vmfs_vol1:write_ops
-------------------------------------------------------------------------------
2011-12-01 16:16:40     6.983
2011-12-01 16:17:40     3.233
Timestamp       FASA:/fcp_dw/vmfs_vol1:other_ops
-------------------------------------------------------------------------------
2011-12-01 16:16:40     0.217
2011-12-01 16:17:40     0.383
Timestamp       JSY-JDCFASA:/fcp_dw/vmfs_vol1:total_ops
-------------------------------------------------------------------------------
2011-12-01 16:16:40     379.217
2011-12-01 16:17:40     330.900
Timestamp       FASA:/fcp_dw/vmfs_vol1:read_data
-------------------------------------------------------------------------------
2011-12-01 16:16:40     12673228.800
2011-12-01 16:17:40     13281484.800
Timestamp       FASA:/fcp_dw/vmfs_vol1:write_data
-------------------------------------------------------------------------------
2011-12-01 16:16:40     121181.867
2011-12-01 16:17:40     31701.333
Timestamp       FASA:/fcp_dw/vmfs_vol1:throughput
-------------------------------------------------------------------------------
2011-12-01 16:16:40     12794410.667
2011-12-01 16:17:40     13313186.133
Timestamp       FASA:/fcp_dw/vmfs_vol1:avg_latency
-------------------------------------------------------------------------------
2011-12-01 16:16:40     8.630
2011-12-01 16:17:40     9.253
Unfortunately I cannot locate the script I ran last time and am having no luck searching for it.
Can anyone help with the appropriate DFM command/s to get the above information specfiying a particular start and end point.
Thanks in advance,
Steve.
Solved! See The Solution
I have found the information I was looking for, in order to extract the required information from the command line I entered the following commands:
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:total_ops -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> total_ops.txt
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:read_ops -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> read_ops.txt
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:write_ops -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> write_ops.txt
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:other_ops -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> other_ops.txt
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:read_data -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> read_data.txt
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:write_data -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> write_data.txt
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:throughput -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> throughput.txt
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:avg_latency -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> avg_latency.txt
I have found the information I was looking for, in order to extract the required information from the command line I entered the following commands:
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:total_ops -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> total_ops.txt
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:read_ops -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> read_ops.txt
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:write_ops -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> write_ops.txt
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:other_ops -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> other_ops.txt
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:read_data -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> read_data.txt
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:write_data -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> write_data.txt
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:throughput -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> throughput.txt
dfm perf data retrieve -o FASA:/fcp_dw/vmfs_vol1 -C LUN:avg_latency -b "2012-01-05 16:30:00" -e "2012-01-06 09:30:00" -s 60 >> avg_latency.txt
