Contact Info

Crumbtrail

ActiveXperts.com » Administration » Scripts » WMI » Category

PerformanceCounters

ActiveXperts Network Monitor is an advanced and easy tool for monitoring LAN and WAN networks, network servers, workstations and TCP/IP devices. It has a large set of built-in checks, and you can add new checks by writing scripts. You can use VBScript (Windows) or RSH (UNIX) for it. VBScript checks can use WMI and ADSI. WMI is an interface to a broad range of properties of a computer/OS/application. With ADSI, you can monitor Directory Services.

Use the samples below to get used to various WMI classes, and use these classes in your own, custom ActiveXperts Network Monitor check. Each sample below can also be copied to a new file and then run from the command prompt (CSCRIPT.EXE <file>.vbs).

Overview of the PerformanceCounters WMI classes

Win32_Perf
  The Win32_Perf WMI class can be used into your custom scripts.
        Python »  
Win32_PerfFormattedData
  The Win32_PerfFormattedData WMI class can be used into your custom scripts.
  VBScript »     Python »  
Win32_PerfFormattedData_ASP_ActiveServerPages
  The Win32_PerfFormattedData_ASP_ActiveServerPages WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_ContentFilter_IndexingServiceFilter
  The Win32_PerfFormattedData_ContentFilter_IndexingServiceFilter WMI class can be used into your custom scripts.
        Python »  
Win32_PerfFormattedData_ContentIndex_IndexingService
  The Win32_PerfFormattedData_ContentIndex_IndexingService WMI class can be used into your custom scripts.
        Python »  
Win32_PerfFormattedData_InetInfo_InternetInformationServicesGlobal
  The Win32_PerfFormattedData_InetInfo_InternetInformationServicesGlobal WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_ISAPISearch_HttpIndexingService
  The Win32_PerfFormattedData_ISAPISearch_HttpIndexingService WMI class can be used into your custom scripts.
        Python »  
Win32_PerfFormattedData_MSDTC_DistributedTransactionCoordinator
  The Win32_PerfFormattedData_MSDTC_DistributedTransactionCoordinator WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_NTFSDRV_SMTPNTFSStoreDriver
  The Win32_PerfFormattedData_NTFSDRV_SMTPNTFSStoreDriver WMI class can be used into your custom scripts.
      Powershell » Python »  
Win32_PerfFormattedData_PerfDisk_LogicalDisk
  The Win32_PerfFormattedData_PerfDisk_LogicalDisk WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfNet_Browser
  The Win32_PerfFormattedData_PerfNet_Browser WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfNet_Redirector
  The Win32_PerfFormattedData_PerfNet_Redirector WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfNet_Server
  The Win32_PerfFormattedData_PerfNet_Server WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfNet_ServerWorkQueues
  The Win32_PerfFormattedData_PerfNet_ServerWorkQueues WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfOS_Cache
  The Win32_PerfFormattedData_PerfOS_Cache WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfOS_Memory
  The Win32_PerfFormattedData_PerfOS_Memory WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfOS_Objects
  The Win32_PerfFormattedData_PerfOS_Objects WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfOS_PagingFile
  The Win32_PerfFormattedData_PerfOS_PagingFile WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfOS_Processor
  The Win32_PerfFormattedData_PerfOS_Processor WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfOS_System
  The Win32_PerfFormattedData_PerfOS_System WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfProc_FullImage_Costly
  The Win32_PerfFormattedData_PerfProc_FullImage_Costly WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfProc_Image_Costly
  The Win32_PerfFormattedData_PerfProc_Image_Costly WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfProc_JobObject
  The Win32_PerfFormattedData_PerfProc_JobObject WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfProc_JobObjectDetails
  The Win32_PerfFormattedData_PerfProc_JobObjectDetails WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfProc_Process
  The Win32_PerfFormattedData_PerfProc_Process WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfProc_ProcessAddressSpace_Costly
  The Win32_PerfFormattedData_PerfProc_ProcessAddressSpace_Costly WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfProc_Thread
  The Win32_PerfFormattedData_PerfProc_Thread WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PerfProc_ThreadDetails_Costly
  The Win32_PerfFormattedData_PerfProc_ThreadDetails_Costly WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_PSched_PSchedFlow
  The Win32_PerfFormattedData_PSched_PSchedFlow WMI class can be used into your custom scripts.
      Powershell » Python »  
Win32_PerfFormattedData_PSched_PSchedPipe
  The Win32_PerfFormattedData_PSched_PSchedPipe WMI class can be used into your custom scripts.
      Powershell » Python »  
Win32_PerfFormattedData_RemoteAccess_RASPort
  The Win32_PerfFormattedData_RemoteAccess_RASPort WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_RemoteAccess_RASTotal
  The Win32_PerfFormattedData_RemoteAccess_RASTotal WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_RSVP_ACSRSVPInterfaces
  The Win32_PerfFormattedData_RSVP_ACSRSVPInterfaces WMI class can be used into your custom scripts.
        Python »  
Win32_PerfFormattedData_RSVP_ACSRSVPService
  The Win32_PerfFormattedData_RSVP_ACSRSVPService WMI class can be used into your custom scripts.
        Python »  
Win32_PerfFormattedData_SMTPSVC_SMTPServer
  The Win32_PerfFormattedData_SMTPSVC_SMTPServer WMI class can be used into your custom scripts.
      Powershell » Python »  
Win32_PerfFormattedData_Spooler_PrintQueue
  The Win32_PerfFormattedData_Spooler_PrintQueue WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_TapiSrv_Telephony
  The Win32_PerfFormattedData_TapiSrv_Telephony WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_Tcpip_ICMP
  The Win32_PerfFormattedData_Tcpip_ICMP WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_Tcpip_IP
  The Win32_PerfFormattedData_Tcpip_IP WMI class can be used into your custom scripts.
      Powershell » Python »  
Win32_PerfFormattedData_Tcpip_NBTConnection
  The Win32_PerfFormattedData_Tcpip_NBTConnection WMI class can be used into your custom scripts.
  VBScript » JScript »   Python » Perl »
Win32_PerfFormattedData_Tcpip_NetworkInterface
  The Win32_PerfFormattedData_Tcpip_NetworkInterface WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_Tcpip_UDP
  The Win32_PerfFormattedData_Tcpip_UDP WMI class can be used into your custom scripts.
      Powershell » Python »  
Win32_PerfFormattedData_TermService_TerminalServices
  The Win32_PerfFormattedData_TermService_TerminalServices WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_TermService_TerminalServicesSession
  The Win32_PerfFormattedData_TermService_TerminalServicesSession WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_W3SVC_WebService
  The Win32_PerfFormattedData_W3SVC_WebService WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfFormattedData_W3SVC_WebServiceCache
  The Win32_PerfFormattedData_W3SVC_WebServiceCache WMI class can be used into your custom scripts.
  VBScript » JScript »   Python » Perl »
Win32_PerfRawData
  The Win32_PerfFormattedData_ASP_ActiveServerPages "cooked" performance counter class represents calculated performance counters for the Active Server Pages device on a server operating system.
  VBScript »     Python »  
Win32_PerfRawData_ASP_ActiveServerPages
  The Win32_PerfFormattedData_ASP_ActiveServerPages "cooked" performance counter class represents calculated performance counters for the Active Server Pages device on a server operating system. This class is found only on server operating systems.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_ASPNET_ASPNET
  The Win32_PerfFormattedData_ASP_ActiveServerPages "cooked" performance counter class represents calculated performance counters for the Active Server Pages device on a server operating system.
  VBScript » JScript »   Python » Perl »
Win32_PerfRawData_ASPNET_ASPNETApplications
  The Win32_PerfFormattedData_ASP_ActiveServerPages "cooked" performance counter class represents calculated performance counters for the Active Server Pages device on a server operating system.
  VBScript » JScript »   Python » Perl »
Win32_PerfRawData_ContentFilter_IndexingServiceFilter
  The Win32_PerfFormattedData_ContentFilter_IndexingServiceFilter "cooked" data performance counter class represents raw performance data about an Indexing Service filter.
  VBScript »     Python »  
Win32_PerfRawData_ContentIndex_IndexingService
  The Win32_PerfFormattedData_ContentIndex_IndexingService "cooked" data performance counter class represents calcuated performance data about the state of the Indexing Service.
  VBScript »     Python »  
Win32_PerfRawData_IAS_IASAccountingClients
  The Win32_PerfFormattedData_ContentIndex_IndexingService "cooked" data performance counter class represents calcuated performance data about the state of the Indexing Service.
  VBScript »     Python »  
Win32_PerfRawData_IAS_IASAccountingServer
  The Win32_PerfFormattedData_ContentIndex_IndexingService "cooked" data performance counter class represents calcuated performance data about the state of the Indexing Service.
  VBScript »     Python »  
Win32_PerfRawData_IAS_IASAuthenticationClients
  The Win32_PerfFormattedData_ContentIndex_IndexingService "cooked" data performance counter class represents calcuated performance data about the state of the Indexing Service.
  VBScript »     Python »  
Win32_PerfRawData_IAS_IASAuthenticationServer.htm.id
  The Win32_PerfFormattedData_ContentIndex_IndexingService "cooked" data performance counter class represents calcuated performance data about the state of the Indexing Service.
  VBScript »     Python »  
Win32_PerfRawData_InetInfo_InternetInformationServicesGlobal
  The Win32_PerfFormattedData_InetInfo_InternetInformationServicesGlobal "cooked" data performance counter class represents calculated counters that monitor Internet Information Services (the Web service and the FTP service) as a whole.
  VBScript » JScript »   Python » Perl »
Win32_PerfRawData_ISAPISearch_HttpIndexingService
  The Win32_PerfFormattedData_ISAPISearch_HttpIndexingService "cooked" performance counter class represents calculated performance data from the HTTP Indexing Service.
  VBScript »     Python »  
Win32_PerfRawData_MSDTC_DistributedTransactionCoordinator
  The Win32_PerfFormattedData_MSDTC_DistributedTransactionCoordinator "cooked" data performance counter class represents Microsoft Distributed Transaction Coordinator performance calculated counters.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_NTFSDRV_SMTPNTFSStoreDriver
  The Win32_PerfFormattedData_MSDTC_DistributedTransactionCoordinator "cooked" data performance counter class represents Microsoft Distributed Transaction Coordinator performance calculated counters.
  VBScript »   Powershell » Python »  
Win32_PerfRawData_PerfDisk_LogicalDisk
  The Win32_PerfRawData_PerfDisk_LogicalDisk WMI class can be used into your custom scripts.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfDisk_PhysicalDisk
  The Win32_PerfFormattedData_PerfDisk_LogicalDisk "cooked" data performance counter class represents calculated counters that monitor logical partitions of a hard or fixed disk drive.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfNet_Browser
  The Win32_PerfFormattedData_PerfNet_Browser "cooked" data performance counter class represents calculated counters that measure the rates of announcements, enumerations, and other browser transmissions.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfNet_Redirector
  The Win32_PerfFormattedData_PerfNet_Redirector "cooked" data performance counter class represents calculated counters that monitor network connections originating at the local computer.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfNet_Server
  The Win32_PerfFormattedData_PerfNet_Server "cooked" data performance counter class represents calculated counters that monitor communications using the WINS Server service.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfNet_ServerWorkQueues
  The Win32_PerfFormattedData_PerfNet_ServerWorkQueues "cooked" data performance counter class represents calculated counters that monitor the length of the queues and objects in the queues.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfOS_Cache
  The Win32_PerfFormattedData_PerfOS_Cache "cooked" data performance counter class represents calculated counters that monitor the file system cache, an area of physical memory that stores recently used data as long as possible to permit access to the data without having to read from the disk.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfOS_Memory
  The Win32_PerfFormattedData_PerfOS_Memory "cooked" data performance counter class represents calculated counters that describe the behavior of physical and virtual memory on the computer.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfOS_Objects
  The Win32_PerfFormattedData_PerfOS_Objects "cooked" data performance counter class represents calculated counts of the objects contained by the operating system such as events, mutexes, processes, sections, semaphores, and threads.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfOS_PagingFile
  The Win32_PerfFormattedData_PerfOS_PagingFile "cooked" data performance counter class represents calculated counters that monitor the paging file(s) on the computer.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfOS_Processor
  The Win32_PerfFormattedData_PerfOS_Processor "cooked" data performance counter class represents calculated counters that measure aspects of processor activity. The processor is the part of the computer that performs arithmetic and logical computations, initiates operations on peripherals, and runs the threads of processes. A computer can have multiple processors. The processor object represents each processor as an instance of the object. This class is shown as the Processor object in System Monitor. The WMI source of its data is the high-performance Cooked Counter Provider. This class derives its raw data from the corresponding raw class Win32_PerfRawData_PerfOS_Processor. The original data source is the PerfOS performance library. This class was added for Windows XP.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfOS_System
  The Win32_PerfFormattedData_PerfOS_System "cooked" data performance counter class represents calculated counters that apply to more than one instance of a component processors on the computer.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfProc_FullImage_Costly
  The Win32_PerfFormattedData_PerfProc_FullImage_Costly "cooked" data performance counter class represents calculated counters that monitor the virtual address usage of images executed by computer processes.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfProc_Image_Costly
  The Win32_PerfFormattedData_PerfProc_Image_Costly "cooked" data performance counter class represents calculated counters that monitor the virtual address usage of images executed by processes on the computer.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfProc_JobObject
  The Win32_PerfFormattedData_PerfProc_JobObject "cooked" data performance counter class represents calculated accounting and processor usage data collected by each active named job object.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfProc_JobObjectDetails
  The Win32_PerfFormattedData_PerfProc_JobObjectDetails "cooked" data performance counter class represents detailed calculated performance information about the active processes that make up a job object.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfProc_Process
  The Win32_PerfFormattedData_PerfProc_Process "cooked" data performance counter class represents calculated counters that monitor running application program and system processes.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfProc_ProcessAddressSpace_Costly
  The Win32_PerfFormattedData_PerfProc_ProcessAddressSpace_Costly "cooked" data performance counter class represents calculated counters that monitor memory allocation and use for a selected process.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfProc_Thread
  The Win32_PerfFormattedData_PerfProc_Thread "cooked" data performance counter class represents calculated counters that measure aspects of thread behavior.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PerfProc_ThreadDetails_Costly
  The Win32_PerfRawData_PerfProc_ThreadDetails_Costly raw data performance counter class represents raw data counters that measure aspects of thread behavior that are difficult or time-consuming to collect.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_PSched_PSchedFlow
  The Win32_PerfRawData_PSched_PSchedFlow WMI class can be used into your custom scripts.
        Python »  
Win32_PerfRawData_PSched_PSchedPipe
  The Win32_PerfRawData_PSched_PSchedPipe WMI class can be used into your custom scripts.
        Python »  
Win32_PerfRawData_RemoteAccess_RASPort
  The Win32_PerfRawData_RemoteAccess_RASPort raw data performance counter class represents raw data counters that monitor individual Remote Access Service ports of the RAS device on the computer.
  VBScript » JScript »   Python » Perl »
Win32_PerfRawData_RemoteAccess_RASTotal
  The Win32_PerfRawData_RemoteAccess_RASTotal raw data performance counter class represents raw data counters that combine values for all ports of the Remote Access service (RAS) device on the computer.
  VBScript » JScript »   Python » Perl »
Win32_PerfRawData_RSVP_ACSPerRSVPService
  The Win32_PerfRawData_RSVP_ACSRSVPService raw data performance counter class represents raw data RSVP or ACS service performance counters.
  VBScript »     Python »  
Win32_PerfRawData_RSVP_ACSRSVPInterfaces
  The Win32_PerfRawData_RSVP_ACSRSVPInterfaces WMI class can be used into your custom scripts.
      Powershell » Python »  
Win32_PerfRawData_RSVP_ACSRSVPService
  The Win32_PerfRawData_RSVP_ACSRSVPService WMI class can be used into your custom scripts.
      Powershell » Python »  
Win32_PerfRawData_SMTPSVC_SMTPServer
  The Win32_PerfRawData_SMTPSVC_SMTPServer raw data performance counter classes represents the raw data counters specific to the SMTP Server.
  VBScript »   Powershell » Python »  
Win32_PerfRawData_Spooler_PrintQueue
  The Win32_PerfRawData_Spooler_PrintQueue raw data performance counter class represents raw data performance statistics about a Print Queue.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_TapiSrv_Telephony
  The Win32_PerfRawData_TapiSrv_Telephony raw data performance counter class represents the raw performance data for the telephony system. This class is shown as the Telephony object in System Monitor. The WMI source of its data is the high-performance Performance Counter Provider. The original data source is the TapiSrv performance library. The corresponding formatted data class is Win32_PerfFormattedData_TapiSrv_Telephony. This class was added for Windows 2000.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_Tcpip_ICMP
  The Win32_PerfRawData_Tcpip_ICMP raw data performance counter class represents raw data counters that measure the rates at which messages are sent and received by using ICMP protocols.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_Tcpip_IP
  The Win32_PerfRawData_Tcpip_IP raw data performance counter class represents counters that measure the rates at which IP datagrams are sent and received by using IP protocols.
  VBScript »   Powershell » Python »  
Win32_PerfRawData_Tcpip_NBTConnection
  The Win32_PerfRawData_Tcpip_NBTConnection raw data performance counter class represents raw data counters that measure the rates at which bytes are sent and received over the NBT connection between the local computer and a remote computer.
  VBScript » JScript »   Python » Perl »
Win32_PerfRawData_Tcpip_NetworkInterface
  The Win32_PerfRawData_Tcpip_NetworkInterfaceraw data performance counter class represents raw data counters that measure the rates at which bytes and packets are sent and received over a TCP/IP network connection.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_Tcpip_TCP
  The Win32_PerfRawData_Tcpip_TCP raw data performance counter class represents raw data counters that measure the rates at which TCP Segments are sent and received by using the TCP protocol.
  VBScript » JScript » Powershell » Python »  
Win32_PerfRawData_Tcpip_UDP
  The Win32_PerfRawData_Tcpip_UDT raw data performance counter class represents raw data counters that measure the rates at which UDP datagrams are sent and received by using the UDP protocol.
  VBScript »   Powershell » Python »  
Win32_PerfRawData_TermService_TerminalServices
  The Win32_PerfRawData_TermService_TerminalServices raw data performance counter class represents raw data terminal services summary information.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_TermService_TerminalServicesSession
  The Win32_PerfRawData_TermService_TerminalServicesSession raw data performance counter class represents raw data terminal services per-session resource monitoring.
  VBScript » JScript » Powershell » Python » Perl »
Win32_PerfRawData_W3SVC_WebService
  The Win32_PerfRawData_W3SVC_WebService raw data performance counter class represents raw data counters specific to the World Wide Web Publishing Service.
  VBScript » JScript »   Python » Perl »