Compartilhar via


DnsServerRecordStatistics class

Represents DNS server statistics related to record usage.

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 DnsServerRecordStatistics
{
  uint32 InUse;
  uint32 Used;
  uint32 Return;
  uint32 Memory;
  uint32 CacheTotal;
  uint32 CacheCurrent;
  uint32 CacheTimeouts;
  uint32 SlowFreeQueued;
  uint32 SlowFreeFinished;
};

Members

The DnsServerRecordStatistics class has these types of members:

Properties

The DnsServerRecordStatistics class has these properties.

CacheCurrent

Data type: uint32

Access type: Read-only

The number of resource records currently cached by the server.

CacheTimeouts

Data type: uint32

Access type: Read-only

The cumulative number of resource records that have been freed from the DNS server's cache.

CacheTotal

Data type: uint32

Access type: Read-only

The cumulative number resource records cached by the server.

InUse

Data type: uint32

Access type: Read-only

The number of resource records currently allocated by the server.

Memory

Data type: uint32

Access type: Read-only

The amount of memory, in bytes, currently allocated for resource records by the server.

Return

Data type: uint32

Access type: Read-only

The cumulative number of resource records freed by the server.

SlowFreeFinished

Data type: uint32

Access type: Read-only

The number of slow frees that have been completed.

SlowFreeQueued

Data type: uint32

Access type: Read-only

Some cached record types, such as NS and SOA, are not immediately freed to the pool of allocated records. Instead they are placed in a timeout queue and returned after the timeout expires. This is the cumulative count of such slow-free records that have been entered into the timeout queue.

Used

Data type: uint32

Access type: Read-only

The cumulative number of resource records allocated by the server

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