I'm not sure what pvstats does or did but I've written a tool called 'topvol' which monitors volume activity and latency in a fashion similar to the top utility available on *nixes.
Topvol is a perl script that you run on a remote host and it connects to the filer and uses the stats command to collect volume ops and latency. To run topvol you'll need ssh key based access to the filer and a user account with privileges to run the stats command. Topvol then gathers the ops and latency statistics on all flexvols on the filer and sorts them in descending order, showing the top 20 volumes. You can have topvol sort by ops or latency. Here is an example usage and output:
sh-3.2# ./topvol filer 3 4 ops Ops Latency Volume ========================================= 427 3.51 melon_20K_fntst90 60 0.03 dmsapplog 41 0.98 vmware_its_pool_3_nfs 41 1.76 oak_20K_psoft_bin_n 35 6.83 redwood_20K_clone_psoft_bin_n 35 2.58 esx3b_jsl_nfs1 30 0.01 bb_garlic2_orasoft_nfs 25 41 ums_ms9 22 0.96 melon_20K_redoa 21 0.87 its_pool_4_nfs 21 0.01 msln_web_data 18 0.18 bb_garlic2_redoa 16 7.87 SWS_Exchange 15 18 ums_ms8 15 3.32 dmsosm1 13 13 msln_ms1_b 13 1.41 bb7prod_content_nfs 12 6.30 dms_caesar_dbdat0_2 10 0.45 dmsdbrlb_fc 8 35 melon_20K_cstyp2 8 0.20 melon_20K_psoft_bin
Above, I've given topvol the filer name, the interval I want it to collect results for, the number of iterations I want it to run and what I want it to sort by. In this case I had is sort by ops.
If you run topvol without any options it will give you a synopsis of what it is and how to run it.
While it does not collect historical results, you could redirect the output to a text file and let it run indefinetely then bring the results into excel and do some magic on it there.
You can find a copy here: http://communities.netapp.com/docs/DOC-1262
Hope it helps.
Romeo
On Thu, Aug 7, 2008 at 2:40 PM, George Kahler george@yorku.ca wrote:
Hi, I need to find disk statistics for an environment that uses flexvols. I used to run "pvstats" written by Ben Swartzlander bswartz@netapp.combut that does not work in an flexvol environment.
I need something similar to that for be able to tell management where we stand.
I would appreciate to hear from you if you have something similar or if you perhaps modified Ben's code to work in an flexvol environment and you're willing to share.
Thanks, George
George Kahler email: george@yorku.ca Sr. Systems Administrator work: (416) 736-2100 x.22699 Computing and Network Services fax: (416) 736-5830 Ontario, Canada, M3J-1P3
There are three kinds of lies: lies, damned lies, and benchmarks - Mark Twain