Presentation is loading. Please wait.

Presentation is loading. Please wait.

NTSMF Web-Based Reporting Techniques Jim Quigley conEdison.

Similar presentations


Presentation on theme: "NTSMF Web-Based Reporting Techniques Jim Quigley conEdison."— Presentation transcript:

1 NTSMF Web-Based Reporting Techniques Jim Quigley conEdison

2 Performance Reporting with the Microsoft Office Web Components

3 CMG’93 Sunday Workshops

4 Agenda SasToOwc.htm Historical Produce charts from SAS WmiToOwc.htm Real-Time Produce charts from WMI

5 Office Web Components ActiveX Objects Ship with Microsoft Office 2000 c:\Program Files\MicrosoftOffice\Office\MsOwc.dll Spreadsheet - OWC.Spreadsheet Chart - OWC.Chart Pivot Table - OWC.PivotTable DSC - OWC.DataSourceControl

6 SasToOwc.htm Uses SAS OLE DB Provider sas.LocalProvider \SAS Institute\Shared Files\SAS OLE DB Data Providers\sasafbas.dll Auto-installs with SAS version 8 Allows direct SAS file access Does not support SQL Field label access is difficult from script

7 SasToOwc.htm Demo

8 WmiToOwc.htm Uses WMI scripting API WMI - Windows Management Interface WBEM compliant CIM implementation? Complete systems management API Including performance management Uses High-Performance Provider Windows 2000 only

9 Windows 2000 Performance Monitoring

10 WmiToOwc.htm Demo

11 WSH Script - WmiWss.vbs Server = InputBox("Enter the name of a server to query") Set Locator = CreateObject("WbemScripting.SWbemLocator") Set Service = Locator.ConnectServer(Server, "root\cimv2") Service.Security_.ImpersonationLevel = 3 'impersonation sql = "Select Name, WorkingSetSize From Win32_Process“ Set ObjSet = Service.ExecQuery(sql,, 0) For Each i In ObjSet x = i.WorkingSetSize if isnull(x) then x = 0 Msg = Msg + i.Name + " = " + CStr(x) + vbCrLf Next MsgBox Msg


Download ppt "NTSMF Web-Based Reporting Techniques Jim Quigley conEdison."

Similar presentations


Ads by Google