If you want to avoid using the SDK, you can use the dfm cli to display data that you normally see in the perf advisor:
The cmd sets are:
dfm perf data retrieve
Example for total ops of all vols: dfm perf data retrieve -o <filer name> -C volume:total_ops -M nov -s 3600 -m mean
Regards Andreas
From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Learmonth, Peter Sent: Wednesday, November 17, 2010 8:09 PM To: Holland, William L; Kennedy, Jeffrey; Davies, Matt; toasters@mathworks.com Subject: RE: Measuring IOPS
Yes, I was going to suggest that too. If you download our SDK, there is a Windows tool called zexplore.exe (for ZAPI explorer, named for Zephyr - the code name for the original API project). This will let you connect to a NetApp controller and ... explore. Be careful. It actually executes APIs, so things like volume-destroy do exactly as the name suggests. perf-object-* are the equivalent APIs to the stats command Rich Payne mentioned. Any halfway decent OO perl hacker could whip up a script to pull the objects/instances/counters you want and make them all pretty. Or you could look at the PowerShell tools we've posted on Communities.
Share and enjoy!
Peter
From: Holland, William L [mailto:HollandWL@state.gov] Sent: Wednesday, November 17, 2010 10:22 AM To: Kennedy, Jeffrey; Davies, Matt; toasters@mathworks.com Subject: RE: Measuring IOPS
I'm not much on coding, but it sounds like the NetApp Manageability SDK may be what you are looking for. http://communities.netapp.com/docs/DOC-1152
This email is UNCLASSIFIED.
From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Kennedy, Jeffrey Sent: Wednesday, November 17, 2010 12:35 PM To: Davies, Matt; toasters@mathworks.com Subject: RE: Measuring IOPS
I asked a similar question on the Netapp community. I got several hundred reads but not a single response. Disappointing.
My question specifically was how to get the Perf Advisor data from DFM via the cli, specifically for scripting and throwing the data into other applications like mrtg. Perf Advisor collects not only total iops but type of iop as well; read, write, or meta. Very nice info but using PA all the time is too heavyweight for me.
If all you want is total iops, the sysstat parse, as already mentioned, on a periodic basis is simple enough to do.
I'm hoping a Netapp lurker might have an answer to my query though....
Jeff Kennedy Qualcomm, Incorporated QCT Engineering Compute 858-651-6592
From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Davies, Matt Sent: Wednesday, November 17, 2010 8:26 AM To: toasters@mathworks.com Subject: Measuring IOPS
Hi all,
Does anyone know if there is a way to calculate the number of IOPS a filer is handling via SNMP or some way to script a collection ?
Thanks
Matt
____________________________ Matt Davies Director of International IT Operations General Atlantic 23 Savile Row London W1S 2ET
Tel: +44 207 484 3203 Fax: +44 207 484 2803 Mobile: +44 777 559 4265 ____________________________
________________________________ _____________________________________________________________ This e-mail (including all attachments) is confidential and may be privileged. It is for the exclusive use of the addressee only. If you are not the addressee, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately at help@generalatlantic.com . Thank You.
WINCOR NIXDORF International GmbH Sitz der Gesellschaft: Paderborn Registergericht Paderborn HRB 3507 Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen Wunram Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193
Diese E-Mail enthält vertrauliche Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
This e-mail may contain confidential information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.