Contact Info

Crumbtrail

ActiveXperts.com » Administration » Scripts » WMI Performance Counters » VBScript

LCUSrv04RichpresencesubscribeSQLcalls - WMI sample in VBScript

The foundations for Manageability in Windows 2019/2012/2008/ and Windows 10/8/7/Vista/XP are Windows Management Instrumentation (WMI; formerly WBEM) and WMI extensions for Windows Driver Model (WDM).

ActiveXperts Network Monitor provides the ability to build monitor check routines based on WMI. ActiveXperts has collected more than a hundred WMI samples. You can use these samples as a base for new check routines you can write yourself.

On this site, you can find many WMI samples.

The LCUSrv04RichpresencesubscribeSQLcalls WMI class can be used in ActiveXperts Network Monitor to monitor your servers.


LCUSrv04RichpresencesubscribeSQLcalls

Example(s)

Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")

Set colItems = objWMIService.ExecQuery("Select * From Win32_PerfFormattedData_WRTCESPf_LCUSrv04RichpresencesubscribeSQLcalls")

For Each objItem in colItems
	WScript.Echo "Caption:" & objItem.Caption
	WScript.Echo "Description:" & objItem.Description
	WScript.Echo "Frequency_Object:" & objItem.Frequency_Object
	WScript.Echo "Frequency_PerfTime:" & objItem.Frequency_PerfTime
	WScript.Echo "Frequency_Sys100NS:" & objItem.Frequency_Sys100NS
	WScript.Echo "Name:" & objItem.Name
	WScript.Echo "Timestamp_Object:" & objItem.Timestamp_Object
	WScript.Echo "Timestamp_PerfTime:" & objItem.Timestamp_PerfTime
	WScript.Echo "Timestamp_Sys100NS:" & objItem.Timestamp_Sys100NS
	WScript.Echo "USrv000RtcBatchSubscribeCategoryListSproccallsPerSec:" & objItem.USrv000RtcBatchSubscribeCategoryListSproccallsPerSec
	WScript.Echo "USrv001RtcBatchSubscribeCategoryListSprocLatencymsec:" & objItem.USrv001RtcBatchSubscribeCategoryListSprocLatencymsec
	WScript.Echo "USrv003NumberofRtcBatchSubscribeCategoryListsproccalls:" & objItem.USrv003NumberofRtcBatchSubscribeCategoryListsproccalls
	WScript.Echo "USrv004Averagenumberofcategoriespersubscriberequest:" & objItem.USrv004Averagenumberofcategoriespersubscriberequest
	WScript.Echo "USrv006Averagenumberofuserspersubscriberequest:" & objItem.USrv006Averagenumberofuserspersubscriberequest
	WScript.Echo "USrv008RtcSubscribeSelfSproccallsPerSec:" & objItem.USrv008RtcSubscribeSelfSproccallsPerSec
	WScript.Echo "USrv009RtcSubscribeSelfSprocLatency:" & objItem.USrv009RtcSubscribeSelfSprocLatency
	WScript.Echo "USrv011NumberofRtcSubscribeSelfsproccalls:" & objItem.USrv011NumberofRtcSubscribeSelfsproccalls
	WScript.Echo "USrv012RtcDeleteDeliveryContextSproccallsPerSec:" & objItem.USrv012RtcDeleteDeliveryContextSproccallsPerSec
	WScript.Echo "USrv013RtcDeleteDeliveryContextSprocLatencymsec:" & objItem.USrv013RtcDeleteDeliveryContextSprocLatencymsec
	WScript.Echo "USrv015NumberofRtcDeleteDeliveryContextsproccalls:" & objItem.USrv015NumberofRtcDeleteDeliveryContextsproccalls
	WScript.Echo "USrv016RtcDeleteDeliveryContextByIdSproccallsPerSec:" & objItem.USrv016RtcDeleteDeliveryContextByIdSproccallsPerSec
	WScript.Echo "USrv017RtcDeleteDeliveryContextByIdSprocLatency:" & objItem.USrv017RtcDeleteDeliveryContextByIdSprocLatency
	WScript.Echo "USrv019NumberofRtcDeleteDeliveryContextByIdsproccalls:" & objItem.USrv019NumberofRtcDeleteDeliveryContextByIdsproccalls
	WScript.Echo "USrv020Averagenumberofcategoriesperpollingsubscriberequest:" & objItem.USrv020Averagenumberofcategoriesperpollingsubscriberequest
	WScript.Echo "USrv022Averagenumberofusersperpollingsubscriberequest:" & objItem.USrv022Averagenumberofusersperpollingsubscriberequest
	WScript.Echo "USrv024Waittimeforapollingsubscriberequestinthequeue:" & objItem.USrv024Waittimeforapollingsubscriberequestinthequeue
	WScript.Echo "USrv026RtcBatchQueryCategoriesSproccallsPerSec:" & objItem.USrv026RtcBatchQueryCategoriesSproccallsPerSec
	WScript.Echo "USrv027RtcBatchQueryCategoriesSprocLatencymsec:" & objItem.USrv027RtcBatchQueryCategoriesSprocLatencymsec
	WScript.Echo "USrv029Numberofpollingsubscriberequestswaitingtobecompleted:" & objItem.USrv029Numberofpollingsubscriberequestswaitingtobecompleted
	WScript.Echo "USrv031NumberofrequestsinthecalltoRtcBatchQueryCategories:" & objItem.USrv031NumberofrequestsinthecalltoRtcBatchQueryCategories
	WScript.Echo ""
	WScript.Echo "########"
	WScript.Echo ""
Next