您可以使用“-s”标志在 ping 中指定数据包大小:
-s packetsize
Specifies the number of data bytes to be sent. The default is 56, which translates into
64 ICMP data bytes when combined with the 8 bytes of ICMP header data.
Run Code Online (Sandbox Code Playgroud)