getSystemMetrics

Returns a struct of server metrics, such as active requests and threads, session count, datasource and HTTP connections, and CPU load.

getSystemMetrics() → returns struct

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

Examples
Sample code invoking the getSystemMetrics function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub