想查看某個 IP 是否活著,或者 ICMP 的回應時間,可以使用 ping,但是 Web Server 也想要 ping 可以怎麼做呢?
標籤: ping
ping.pe:即時查看各地到此 IP ping 值的服務
此網站的首頁直接秀出你的 IP 的資訊,輸入 IP 後,會由多個地區來 ping 此 IP,來查看 mtr 的情況,也查看各地區是否能正常連接此 IP。
- 網站服務:Ping and mtr from multiple locations
- ex: http://ping.pe/8.8.8.8
MySQL CLI ping 驗證是否活著
MySQL 看是否有起來,ps + grep 或 netstat 看 3306 都可以,但是內部已經死掉的話,要怎麼知道呢?
Ping 回傳值 - wrong data byte #45
上週網路斷線, 第一次看到 ping 回傳這種訊息(wrong data byte #45 should be 0x2d but was 0xd), 完整訊息如下述:
- $ ping xxx.xxx.xx.xx # ping 掛掉的機器 (固定IP)
PING xxx.xxx.xx.xxx (xxx.xxx.xx.xxx) 56(84) bytes of data.
64 bytes from xxx.xxx.xx.xxx (xxx.xxx.xx.xxx): icmp_seq=1 ttl=62 time=13.8 ms
wrong data byte #45 should be 0x2d but was 0xd
#16 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25 26 27 28 29 2a 2b 2c d 2e 2f
#48 30 31 32 33 34 35 36 37
64 bytes from xxx.xxx.xx.xxx (xxx.xxx.xx.xxx): icmp_seq=2 ttl=62 time=15.0 ms
wrong data byte #45 should be 0x2d but was 0xd
#16 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25 26 27 28 29 2a 2b 2c d 2e 2f
#48 30 31 32 33 34 35 36 37
就 Timeout 和 上述訊息不定時的跳動, 打電話回報後, 中華電信大概花 4hr 修復~ 作個紀錄.
- 下述摘錄自此網頁: binutils, gcc-4.2, gcc-4.3, gcc-snapshot builds
Washi keeps losing internet connectivity. It's something to do with the network card. It could either be fried or need reseating. I'm not sure yet. If I run a simple ping to the gateway I get very strange error messages like "wrong data byte #45 should be 0x2d but was 0x2f" and then "Warning: time of day gos back (-1998130us), taking countermeasures". There's most certainly some serious corruption going on.