[This is preliminary documentation and subject to change]

### CPULoggingInterval

This metabase property specifies the logging interval for process accounting and throttling activity, in minutes. If process accounting is enabled and activated, IIS will write a summary of the process accounting information to the log file at the end of each interval specified by CpuLoggingInterval.

Important For process accounting to work properly, you must be sure to set the property CpuLoggingInterval to a value less than that specified by CPUResetInterval. If CpuLoggingInterval is greater than CPUResetInterval, IIS will reset counters and the logging timer before the logging interval has elapsed, and process accounting will never occur.

Because process accounting in IIS uses Windows Job Objects to monitor CPU times for an entire process, process accounting will log and throttle only applications that are isolated in a separate process from IIS.

Process throttling and process accounting are independently controlled by several other metabase properties. In order to enable process accounting you must set CpuEnableLogging (which is a member of CPULoggingMask) to TRUE, and set at least one other CPULoggingMask property to TRUE. It is also necessary to set at least one member flag of the CPULoggingOptions, set CpuLoggingInterval to a nonzero value, and set either CPUAppEnabled or CPUCGIEnabled, as appropriate, to TRUE.

To properly activate process throttling, CPULimitsEnabled must be set to TRUE, and at least one of the following properties should be set to TRUE: CPULimitLogEvent, CPULimitPriority, CPULimitProcStop, or CPULimitPause.

Attribute Name | Attribute Value
Data Type | DWORD
Attributes | INHERIT
Default Value | 60
MetaFlagsEx | CACHE_PROPERTY_MODIFIED
User Type | IIS_MD_UT_SERVER
StartingNumber |
EndingNumber | 0
ID | 2145

### Access Locations

This property is accessible at the following locations:

Metabase Path | IIS Admin Object Type
/LM/W3SVC/Info/Templates/Public Web Site | IIsWebServer
/LM/W3SVC/Info/Templates/Secure Web Site | IIsWebServer
/LM/W3SVC | IIsWebService

### IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier | MD_CPU_LOGGING_INTERVAL
Data type | DWORD
User type | IIS_MD_UT_SERVER

© 1997-2001 Microsoft Corporation. All rights reserved.