Projects / xping / Comments

Comments for xping

30 Nov 2002 18:37 tallen

hanging ping on RedHat 7.3 and RedHat 8.0
If a network link goes down or experiences really long latencies, with the default (lack of) options that xping uses,
the ping command in RedHat 7.3 and RedHat 8.0 may just hang forever. To workaround this, use:

-command "ping -c 1 -w 4 %s"

or its X resource equivalent in your ~/.Xdefaults file:

XPing.pingCommand: ping -c 1 -w 4 %s

The "-w 4" option causes ping to timeout after 4 seconds and report a ping failure.

If this happens a lot and the false alarms are a problem, you may also want to look into the -retries options (or XPing.numRetries resource).

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.