LCUSrv04RichpresencesubscribeSQLcalls - WMI sample in Python
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)
from win32com.client import GetObject objWMI = GetObject('winmgmts:').InstancesOf('Win32_PerfRawData_WRTCESPf_LCUSrv04RichpresencesubscribeSQLcalls') for obj in objWMI: if obj.Caption != None: print("Caption:" + str(obj.Caption)) if obj.Description != None: print("Description:" + str(obj.Description)) if obj.Frequency_Object != None: print("Frequency_Object:" + str(obj.Frequency_Object)) if obj.Frequency_PerfTime != None: print("Frequency_PerfTime:" + str(obj.Frequency_PerfTime)) if obj.Frequency_Sys100NS != None: print("Frequency_Sys100NS:" + str(obj.Frequency_Sys100NS)) if obj.Name != None: print("Name:" + str(obj.Name)) if obj.Timestamp_Object != None: print("Timestamp_Object:" + str(obj.Timestamp_Object)) if obj.Timestamp_PerfTime != None: print("Timestamp_PerfTime:" + str(obj.Timestamp_PerfTime)) if obj.Timestamp_Sys100NS != None: print("Timestamp_Sys100NS:" + str(obj.Timestamp_Sys100NS)) if obj.USrv000RtcBatchSubscribeCategoryListSproccallsPerSec != None: print("USrv000RtcBatchSubscribeCategoryListSproccallsPerSec:" + str(obj.USrv000RtcBatchSubscribeCategoryListSproccallsPerSec)) if obj.USrv001RtcBatchSubscribeCategoryListSprocLatencymsec != None: print("USrv001RtcBatchSubscribeCategoryListSprocLatencymsec:" + str(obj.USrv001RtcBatchSubscribeCategoryListSprocLatencymsec)) if obj.USrv001RtcBatchSubscribeCategoryListSprocLatencymsec_Base != None: print("USrv001RtcBatchSubscribeCategoryListSprocLatencymsec_Base:" + str(obj.USrv001RtcBatchSubscribeCategoryListSprocLatencymsec_Base)) if obj.USrv003NumberofRtcBatchSubscribeCategoryListsproccalls != None: print("USrv003NumberofRtcBatchSubscribeCategoryListsproccalls:" + str(obj.USrv003NumberofRtcBatchSubscribeCategoryListsproccalls)) if obj.USrv004Averagenumberofcategoriespersubscriberequest != None: print("USrv004Averagenumberofcategoriespersubscriberequest:" + str(obj.USrv004Averagenumberofcategoriespersubscriberequest)) if obj.USrv004Averagenumberofcategoriespersubscriberequest_Base != None: print("USrv004Averagenumberofcategoriespersubscriberequest_Base:" + str(obj.USrv004Averagenumberofcategoriespersubscriberequest_Base)) if obj.USrv006Averagenumberofuserspersubscriberequest != None: print("USrv006Averagenumberofuserspersubscriberequest:" + str(obj.USrv006Averagenumberofuserspersubscriberequest)) if obj.USrv006Averagenumberofuserspersubscriberequest_Base != None: print("USrv006Averagenumberofuserspersubscriberequest_Base:" + str(obj.USrv006Averagenumberofuserspersubscriberequest_Base)) if obj.USrv008RtcSubscribeSelfSproccallsPerSec != None: print("USrv008RtcSubscribeSelfSproccallsPerSec:" + str(obj.USrv008RtcSubscribeSelfSproccallsPerSec)) if obj.USrv009RtcSubscribeSelfSprocLatency != None: print("USrv009RtcSubscribeSelfSprocLatency:" + str(obj.USrv009RtcSubscribeSelfSprocLatency)) if obj.USrv009RtcSubscribeSelfSprocLatency_Base != None: print("USrv009RtcSubscribeSelfSprocLatency_Base:" + str(obj.USrv009RtcSubscribeSelfSprocLatency_Base)) if obj.USrv011NumberofRtcSubscribeSelfsproccalls != None: print("USrv011NumberofRtcSubscribeSelfsproccalls:" + str(obj.USrv011NumberofRtcSubscribeSelfsproccalls)) if obj.USrv012RtcDeleteDeliveryContextSproccallsPerSec != None: print("USrv012RtcDeleteDeliveryContextSproccallsPerSec:" + str(obj.USrv012RtcDeleteDeliveryContextSproccallsPerSec)) if obj.USrv013RtcDeleteDeliveryContextSprocLatencymsec != None: print("USrv013RtcDeleteDeliveryContextSprocLatencymsec:" + str(obj.USrv013RtcDeleteDeliveryContextSprocLatencymsec)) if obj.USrv013RtcDeleteDeliveryContextSprocLatencymsec_Base != None: print("USrv013RtcDeleteDeliveryContextSprocLatencymsec_Base:" + str(obj.USrv013RtcDeleteDeliveryContextSprocLatencymsec_Base)) if obj.USrv015NumberofRtcDeleteDeliveryContextsproccalls != None: print("USrv015NumberofRtcDeleteDeliveryContextsproccalls:" + str(obj.USrv015NumberofRtcDeleteDeliveryContextsproccalls)) if obj.USrv016RtcDeleteDeliveryContextByIdSproccallsPerSec != None: print("USrv016RtcDeleteDeliveryContextByIdSproccallsPerSec:" + str(obj.USrv016RtcDeleteDeliveryContextByIdSproccallsPerSec)) if obj.USrv017RtcDeleteDeliveryContextByIdSprocLatency != None: print("USrv017RtcDeleteDeliveryContextByIdSprocLatency:" + str(obj.USrv017RtcDeleteDeliveryContextByIdSprocLatency)) if obj.USrv017RtcDeleteDeliveryContextByIdSprocLatency_Base != None: print("USrv017RtcDeleteDeliveryContextByIdSprocLatency_Base:" + str(obj.USrv017RtcDeleteDeliveryContextByIdSprocLatency_Base)) if obj.USrv019NumberofRtcDeleteDeliveryContextByIdsproccalls != None: print("USrv019NumberofRtcDeleteDeliveryContextByIdsproccalls:" + str(obj.USrv019NumberofRtcDeleteDeliveryContextByIdsproccalls)) if obj.USrv020Averagenumberofcategoriesperpollingsubscriberequest != None: print("USrv020Averagenumberofcategoriesperpollingsubscriberequest:" + str(obj.USrv020Averagenumberofcategoriesperpollingsubscriberequest)) if obj.USrv020Averagenumberofcategoriesperpollingsubscriberequest_Base != None: print("USrv020Averagenumberofcategoriesperpollingsubscriberequest_Base:" + str(obj.USrv020Averagenumberofcategoriesperpollingsubscriberequest_Base)) if obj.USrv022Averagenumberofusersperpollingsubscriberequest != None: print("USrv022Averagenumberofusersperpollingsubscriberequest:" + str(obj.USrv022Averagenumberofusersperpollingsubscriberequest)) if obj.USrv022Averagenumberofusersperpollingsubscriberequest_Base != None: print("USrv022Averagenumberofusersperpollingsubscriberequest_Base:" + str(obj.USrv022Averagenumberofusersperpollingsubscriberequest_Base)) if obj.USrv024Waittimeforapollingsubscriberequestinthequeue != None: print("USrv024Waittimeforapollingsubscriberequestinthequeue:" + str(obj.USrv024Waittimeforapollingsubscriberequestinthequeue)) if obj.USrv024Waittimeforapollingsubscriberequestinthequeue_Base != None: print("USrv024Waittimeforapollingsubscriberequestinthequeue_Base:" + str(obj.USrv024Waittimeforapollingsubscriberequestinthequeue_Base)) if obj.USrv026RtcBatchQueryCategoriesSproccallsPerSec != None: print("USrv026RtcBatchQueryCategoriesSproccallsPerSec:" + str(obj.USrv026RtcBatchQueryCategoriesSproccallsPerSec)) if obj.USrv027RtcBatchQueryCategoriesSprocLatencymsec != None: print("USrv027RtcBatchQueryCategoriesSprocLatencymsec:" + str(obj.USrv027RtcBatchQueryCategoriesSprocLatencymsec)) if obj.USrv027RtcBatchQueryCategoriesSprocLatencymsec_Base != None: print("USrv027RtcBatchQueryCategoriesSprocLatencymsec_Base:" + str(obj.USrv027RtcBatchQueryCategoriesSprocLatencymsec_Base)) if obj.USrv029Numberofpollingsubscriberequestswaitingtobecompleted != None: print("USrv029Numberofpollingsubscriberequestswaitingtobecompleted:" + str(obj.USrv029Numberofpollingsubscriberequestswaitingtobecompleted)) if obj.USrv029Numberofpollingsubscriberequestswaitingtobecompleted_Base != None: print("USrv029Numberofpollingsubscriberequestswaitingtobecompleted_Base:" + str(obj.USrv029Numberofpollingsubscriberequestswaitingtobecompleted_Base)) if obj.USrv031NumberofrequestsinthecalltoRtcBatchQueryCategories != None: print("USrv031NumberofrequestsinthecalltoRtcBatchQueryCategories:" + str(obj.USrv031NumberofrequestsinthecalltoRtcBatchQueryCategories)) if obj.USrv031NumberofrequestsinthecalltoRtcBatchQueryCategories_Base != None: print("USrv031NumberofrequestsinthecalltoRtcBatchQueryCategories_Base:" + str(obj.USrv031NumberofrequestsinthecalltoRtcBatchQueryCategories_Base)) print("") print("########") print("")