Perfstat for Windows GUI

by Frequent Contributor ‎2013-06-18 11:55 AM - edited ‎2015-08-31 03:38 PM

Perfstat 8.3 is now available at http://mysupport.netapp.com/NOW/download/tools/perfstat/perfstat8.3.shtml which now includes a GUI.  Therefore, I no longer plan on updating this tool on this page.

 

Attached you will find the GUI  (PerfstatGUI.hta).  Simply launch it on any Windows machine you wish to run Perfstat on.  There is a basic read me when you first launch the tool (also attached here is a PDF of the entire Perfstat GUI Read Me).  In addition there is attached PerfstatScriptTemplate.vbs which is a template for a script that can be ran outside the GUI (i.e. through a scheduled task).  If you wish to use the script, select the option "Create Script Only" under the perfstat options in the PerfstatGUI tool and you will be provided instructions on how to use the template.

 

Current Versions:

PerfstatGUI.hta

August 31, 2015 Update Version 2.6

-Corrected the time Time Between Iterations field to reflect setting is in seconds for Perfstat 8

 

PerfstatScriptTemplate.vbs

August 31, 2015 Update Version 1.2

-Added several enhancements for a better experience

 

All previous update notes are included in the files.  Just open in notepad if you wish to read through the updates.

 

Please post all comments and suggestions for improvements here.

Comments

Getting the following errror: 1-27-2014 1-56-02 PM.png

Frequent Contributor

Michael,

Thanks for the feedback!  That particular line it calls out looks at the contents of a zip file (depending upon where you were in the process either the openssh.zip or one of the perfstat*.zip files).  A couple of quick thoughts.  Can you check if you have the patch described in this article:  http://support.microsoft.com/kb/952249?  Can you manually unzip the .zip file and if so does it use the built in Windows zip tools?  Any chance compressed folders are disabled like here:  http://kb.winzip.com/kb/entry/22/?

When it looks for the perfstat zip, does it look for just the name perfstat.zip, or perfstat7.zip or does it try to look for a file called perfstat with the ext of .zip?

Frequent Contributor

Ahh - perfect question!  So first it looks for either perfstat.exe or perfstat8.exe and if not found it looks for either perfstat7* or perfstat8* but I realize it could find another file similarly named that doesn't have a .zip extension that it might try to extract.  I'll change that in the code.  Is that perhaps what's happening here, a different file matching one of those patterns?  Thanks much for the feedback as well, it is certainly helpful to knock out these problems.

OK that makes sense and answered my question. With the perfstat release date being presented in the file name (i.e. perfstat7_20130425.zip ) I wasn't sure if the script is adaptable to look for the file with that information. I thought that might be the problem that was occurring, but with your last reply it seems you factored that in. Currently I have two zip files located with the .hta directory. OpenSSH and perfstat7. Not sure what else could be causing it minus maybe going in and unblocking the zip folder which I completely forgot to do as well. I'll run the test today now that I've unlocked the files and see if that doesn't resolve the issue.

New Contributor

Hi Tim

I just spotted that the openssh link ( http://support.netapp.com/NOW/download/tools/Perfstat/OpenSSH.zip ) in your readme PDF is non existent anymore.

Frequent Contributor

Nice find Patrick!  Short story, I've got it fixed now.  Longer story, I'm working through the read me and about 3/4 of the way through I realize I've been a little lazy and sometimes capitalized the P in Perfstat and sometimes I didn't.  So I did a global search and replace.  Well, that also replaced it in the links which clobbered our case-sensitive URLs on the support site.  I went through and updated them all now correctly.  The only trouble you might have is the link for plink.  The link is correct but there are some versions of Adobe Reader that don't know what to do with a URL with a tilde character in it and seemingly just freeze up on that link.

Frequent Contributor

Just a general note on compatibility.  If you are seeing either of these errors:

"ssh-keygen.exe is not a valid Win32 application"

"0 [main] xperm.win 3360 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer"

It is likely due to a compatibility of the version of OpenSSH from our support site and your particular version of Windows.  There are other versions of OpenSSH built for Windows 64-bit available.  Obviously I am unable to recommend or provide warranty for any products outside of NetApp control - there is one such build available here:  http://www.mls-software.com/opensshd.html

Hi just installed this software on one of our production servers. The utility has a major flaw in it.

When you run to copy ssh keys to the filer. It does 2 things wrong?

1. It moves the authorized_keys to a backup. It should be doing a copy of the file before it write the keys into it. This is oversite and certain not good programming style.

2. It need to check to see if the user exists on the filer. It makes no assumption that I may have already setup keys already on it.

Even if I correct the item #1. It still does not work and does not allow me to get perfstat at all.

I don't know why this should work even on CLI on a stupid windows platform.

Can you please share us a video of the whole process which will help for the beginners aswell to do better with your tool.

Thanks,

Frequent Contributor

Great suggestion!  I'll get working on that.  I'm finishing up another project so might take some time, but will definitely do it.

Member

Suggestion for all involved. Perfstat 8.3 GUI (not CLI) works well with Clustered ONTAP, but not quite with 7-mode. The CLI version works and is a tad easier to set up, but I would recommend using this GUI for ONTAP 7-mode. Because the site doesn't allow .hta extensions, download the file and rename the hta.txt to .hta.

Warning!

This NetApp Community is public and open website that is indexed by search engines such as Google. Participation in the NetApp Community is voluntary. All content posted on the NetApp Community is publicly viewable and available. This includes the rich text editor which is not encrypted for https.

In accordance to our Code of Conduct and Community Terms of Use DO NOT post or attach the following:

  • Software files (compressed or uncompressed)
  • Files that require an End User License Agreement (EULA)
  • Confidential information
  • Personal data you do not want publicly available
  • Another’s personally identifiable information
  • Copyrighted materials without the permission of the copyright owner

Files and content that do not abide by the Community Terms of Use or Code of Conduct will be removed. Continued non-compliance may result in NetApp Community account restrictions or termination.