Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Smarts IP: sm_monitor doesn't work for Windows. How to gather performance data in Windows? What is WinPS and how can I run it? (332031)

Last Updated: 12/17/2018Categories: TroubleshootingTotal Views: 4048Language:
English

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

The sm_monitor tool is a great support tool that can gather various performance related data against a particular server.

However, when you are trying to get similar data from Windows (see SR 65863926 for an example) an sm_monitor tool doesn't exist.

For monitoring performance in Windows we can utilize WinPS.

This tool can review the total memory usage on the server and the memory usage of the sm_server process on the server.
WinPS Tool can be used on Windows OS server for high CPU utilization issues (memory utilization, etc ).

Resolution

The binaries were given by the DMT team and the tool can be run along with sm_monitor data for analysis of the issue/crash.
The attached "WinPS.zip" files consists of 3 files. "WinPS.bat" can be used to capture the overall system statistics and resources used by the smarts servers. "WinPST.bat" is used to capture per-process data on Windows servers. How to run:

Extract all files into one directory (on the C drive)

Go to that new directory, and open the WinPST file with a program like Notepad++.

The file will be opened and you ll be presented with the following:

The only change you will need to make here would be to enter the PID of the domain you would want to track. If you run the ./brcontrol command from within the Smarts bin, it will show you a list of domains running along with their PID number. Then save the file

If you open up either the WinPS or the WinPST file with Notepad++, you will see two numbers listed in brackets liked below:

The first number (10 in the above image) is the timing of the WinPS process in seconds (i.e. it ll run every 10 seconds). The second number (5 in the above image) is the number of times the program will run (in this case, five times). Both of these numbers can be saved if you wanted to change them. You will want to change them if you want to gather WinPS data for a longer period of time

4. Open cmd.exe, run WinPS.bat

This will output system statistics to a file called "WinPS.txt", updated every 10 seconds (per the timing in the above images). This file will show up in the C directory path you created earlier.

In the same command shell, run WinPST.bat <PID>, where PID is the Process ID of the sm_server process.

This will capture thread-level statistics to a file called WinPST.txt, updated every 10 seconds (remember you can adjust that length of time). This will show up as a  WinPST.txt  in the C directory you created earlier.

Related Information

Final Notes:

Also you can only run these two bat files once (you can start it manually like in the steps above or use Windows scheduler).

WinPS does not like to run more than these two bat files on the same server concurrently (WinPS would collect memory utilization on the Windows box and WinPST for the IP domain).

What this means is it is best to run WinPS once, and let it continue its course until completion.

Once WinPS runs its course, you ll be able to review the txt files and find the information you re looking for. You can look at the txt files before WinPS finishes, however you ll be prompted to refresh the file every time WinPS updates (at the interval you set it at).

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

WinPS.zip

Additional Resources

No results for undefined

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

Related Versions:

VMware Smart Assurance - SMARTS

Take Our Survey

Support Assistant