|
Huntland Services Ltd Tel: +44 (0)1392-490518
|
Sampled Numeric Data Statistics Portfolio |
|||||||||||||||||||||||||||||||||||||||||||||
| Back | Download The Scripts | |||||||||||||||||||||||||||||||||||||||||||||
|
IntroductionWhy is my database full of performance monitor data? Which managed node is the one that is generating all this data? Which Object.counter.instance is the biggest source for performance monitor data? What Object.counter.instances are being monitored on my IIS box? The following scripts list sampled numeric data from various angles to provide a view on how many are being created and by whom. The output will be displayed on screen and also written to a TXT file or CSV file suitable for use with Excel. The result includes over what period of time (measured in hours) the sampled data has been collected and what is the oldest date/time for each type of sample. Because of the size of the output these scripts should only be run from a Command Prompt using CSCRIPT. You will need to specify the following paramaters:
In all cases your account must have access to the MOM SQL Server and at least read access to the Onepoint database. Windows Security ('Integrated') is assumed. If your database is many gigabytes in size then you can expect a delay while the query runs. Each script has two commented timeout values controlling the maximum connection time and the maximum time to run a command. By default these are set low and may have to be increased for larger databases.
1. SNDSource.vbsPurpose: To list which object.counter.instances are being sampled from each machine, how many have been collected and over what period in hours. Syntax: cscript SNDSource .vbs myMomSqlServer C:\temp\SNDSource.txt myServer Result:
2. SNDSource_Summary.vbsPurpose: To list which object.counter.instances are being sampled , how many have been collected and over what period in hours for all machines. Syntax: cscript SNDSource_Summary.vbs myMomSqlServer C:\temp\eventSourceSummary.txt Result:
3. SNDSummary.vbsPurpose: A summary of all sampled numeric data Syntax: cscript SNDSummary.vbs myMomSqlServer C:\temp\eventSummary.txt Result:
Please accept these scripts as is. Any feedback will be gratefully received at Debug@Huntland.co.uk |
||||||||||||||||||||||||||||||||||||||||||||||