436
GetMetricData
Description
On Windows NT,
on the value of the mode parameter.
Category
System functions
GetMetricData(mode)
Syntax
Parameters
Parameter
mode
Usage
On Windows NT, if you use
ColdFusion structure with the following data fields:
GetMetricData
Description
The name of the metric. The metrics that you can check are:
PERF_MONITOR
the Windows NT PerfMonitor. To receive this information, you must
turn on the PerfMonitor feature in the ColdFusion Administrator
before executing the function. See the Usage section for details on
the structure that is returned.
SIMPLE_LOAD
state of the server's internal queues, and reflects the overall load on
the server.
PREV_REQ_TIME
server to process the previous request.
AVG_REQ_TIME
takes the server to process a request.
The window of time over which the AVG_REQ_TIME value is calculated
is controlled by the following registry setting:
MyComputer\HKEY_LOCL_MACHINE\SOFTWARE\Allaire\ColdFusion\
CurrentVersion\Server\ReqAvgWindowSec.
The default window is 120 seconds. Changing the registry setting to
zero disables this feature and removes overhead associated with
gathering data.
InstanceName
PageHits
ReqQueued
DBHits
ReqRunning
ReqTimedOut
BytesIn
BytesOut
AvgQueueTime
AvgReqTime
returns system and application metrics, depending
Returns internal data that is otherwise displayed in
Returns an integer value that is computed from the
Returns the time, in milliseconds, that it took the
Returns the average time, in milliseconds, that it
mode = "PERF_MONITOR"
Chapter 3 ColdFusion Functions
the function returns a
Need help?
Do you have a question about the COLDFUSION 5 - CFML and is the answer not in the manual?