【发布时间】:2021-12-02 11:43:03
【问题描述】:
我试图弄清楚如何使用 PowerShell Get-DnsServerStatistics 获取每个域控制器每秒的 DNS 查询数。我复制了下面的一些相关输出。
我试图弄清楚获得 11793847 "TotalQueries" 的时间段是多少?
在“TimeStatistics”部分下,值为 00:00:28 的字段“TimeElapsedSinceLastClearStatisticsBetweenRestart”是否表示 28 秒?还有另一个字段“TimeElapsedSinceServerStart”的值为 34.01:35:21,我不明白这是什么意思?也许是 34 天 1 小时 35 分 21 秒? 但是如果在 28 秒内总共有 11793847 个 DNS 查询。即 421208 次查询/秒在我们的环境中似乎不正确。你能帮帮我吗?
TimeStatistics:
==============
**TimeElapsedSinceLastClearedStatisticsBetweenRestart 00:00:28**
LastClearTime 9/7/2021 9:33:20 PM
ServerStartTime 9/7/2021 9:33:20 PM
TimeElapsedSinceLastClearedStatistics 34.01:35:21
TimeElapsedSinceServerStartBetweenRestart 00:00:28
**TimeElapsedSinceServerStart 34.01:35:21**
Query2Statistics:
================
TypeAll 1917
TKeyNego 0
TypeOther 897431
**TotalQueries 11793847**
【问题讨论】:
标签: powershell dns active-directory