Promotic

CpuUsage - property of the Pm object

Description:
Computer CPU usage.
This property is obsolete (but functional) and it is better to use the Pm.GetSystemInfo property.
Syntax:
Long CpuUsage
Note:
Property access for read only.
 
The value je dispayed in percentage and represents the average load of all CPU cores since the last calling this method. It is often handy to monitor this value when tuning the application.

This property is not functional in Web panels
See also:
- Pm.GetSystemInfo (method)
- Pm.MemoryUsage (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var nCpuUsage = Pm.CpuUsage;

History:
Pm8.00.06: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
- Pm
 
- Abs
- Cos
- CpuUsage
 
 
- E
- Exp
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r.o.