Whatever message this page gives is out now! Go check it out!

GetCPUUsage

Last update:
May 18, 2026

Description

Gets the CPU usage with default or custom snapshot interval. The default interval is 1000 milli-seconds.

Syntax

getCPUUsage()
 getCPUUsage(long ms)

History

  • ColdFusion 10: Added the function.

Parameters

Parameter
Description
long ms
Time in milli-seconds. This is the time delay between two snapshots.

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page