<!--------------------------------------------------------------------- 
This example gets and displays the metric data provided by
Windows NT PerfMonitor.
---------------------------------------------------------------------->

<cfset pmData = GetMetricData( "PERF_MONITOR" ) >

<cfoutput>
  Current PerfMonitor data is: <P>
  InstanceName:  #pmData.InstanceName# <P>
  PageHits:    #pmData.PageHits# <P>
  ReqQueued:     #pmData.ReqQueued# <P>
  DBHits:         #pmData.DBHits# <P>
  ReqRunning:     #pmData.ReqRunning# <P>
  ReqTimedOut:   #pmData.ReqTimedOut# <P>
  BytesIn:         #pmData.BytesIn# <P>
  BytesOut:         #pmData.BytesOut# <P>
  AvgQueueTime:  #pmData.AvgQueueTime# <P>
  AvgReqTime:     #pmData.AvgReqTime# <P>
  AvgDBTime:         #pmData.AvgDBTime# <P>
  CachePops:        #pmData.CachePops# <P>
</cfoutput>


-----Original Message-----
From: Paris Lundis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 12:05 AM
To: CF-Talk
Subject: template statistics...


silly question..

you know that template enhanced admin stuff that trails on the bottom 
of the pages when you specify IPs to report such to?...

well namely the execution time in milliseconds... how can I get that 
value directly (programmatically)... want to utilize it within code 
elsewhere... couldn't find any samples or documentation on it...

-paris
[finding the future in the past, passing the future in the present]
[connecting people, places and things]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to