Partager via


DnsServerCacheStatistics class

DNS server statistics related to the server cache.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DnsServerPSProvider"), AMENDMENT]
class DnsServerCacheStatistics
{
  uint32 SuccessfulFreePasses;
  uint32 FailedFreePasses;
  uint32 PassesWithNoFrees;
  uint32 PassesRequiringAggressiveFree;
};

Members

The DnsServerCacheStatistics class has these types of members:

Properties

The DnsServerCacheStatistics class has these properties.

FailedFreePasses

Data type: uint32

Access type: Read-only

The number of times since the server last started that the server cache was found to exceed the cache size limit, which is 90 percent of the MaxCacheSize, and that an attempt to free nodes was unsuccessful in meeting the cache size limit.

PassesRequiringAggressiveFree

Data type: uint32

Access type: Read-only

The number of times since the server last started that the server cache was found to exceed the cache size limit, which is 90 percent of the MaxCacheSize, and that the server scanned the cache aggressively attempting to free even nodes that contain unexpired records.

PassesWithNoFrees

Data type: uint32

Access type: Read-only

The number of times since the server last started that the server cache was found to exceed the cache size limit, which is 90 percent of the MaxCacheSize, but when the server scanned the cache looking for nodes containing no records or only expired records to free, it found no nodes that could be freed.

SuccessfulFreePasses

Data type: uint32

Access type: Read-only

The number of times since the server last started that the server cache was found to exceed the cache size limit, which is 90 percent of the MaxCacheSize, and that an attempt to free nodes resulted in the cache size limit being met.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

DnsServerPSProvider Provider