echoc/echoc.1

66 lines
1.2 KiB
Groff
Raw Normal View History

2015-09-29 19:52:17 +02:00
.Dd $Mdocdate: September 29 2015 $
.Dt ECHOC 1
.Os
.Sh NAME
.Nm echoc
.Nd send UDP packets to network hosts and wait for replies
.Sh SYNOPSYS
.Nm echoc
.Bk -words
.Op Fl dv
.Op Fl c Ar count
.Op Fl i Ar ms
.Op Fl l Ar len
.Op Fl p Ar port
.Op Fl t Ar ms
.Ar host
.Ek
.Sh DESCRIPTION
.Nm
sends UDP packets to the
.Dv ECHO
service on the remote
.Ar host .
2015-09-30 10:49:06 +02:00
.Nm
displays the start/end date of loss of connectivity.
The options are as follow:
2015-09-29 19:52:17 +02:00
.Bl -tag -width Ds
.It Fl c Ar count
Stop sending after
.Ar count
packets have been sent.
.It Fl d
Set the
.Dv Don't Fragment
2015-09-30 10:49:06 +02:00
bit on outgoing datagrams, on systems that allow programs to control it.
On some systems (MacOSX, OpenBSD) this option will do nothing and the
generated datagrams will have the DF bit set or not, depending on
system settings.
2015-09-29 19:52:17 +02:00
.It Fl i Ar ms
wait
2015-09-30 10:49:06 +02:00
.Ar ms
2015-09-29 19:52:17 +02:00
milliseconds between every packet (default: 100 ms).
.It Fl l Ar len
Send packets of length
.Ar len
bytes (default: 10).
.It Fl p Ar port
Set destination port to
.Ar port
(default: 7 - echo).
.It Fl t Ar ms
Wait at most
2015-09-30 10:49:06 +02:00
.Ar ms
milliseconds for the reply before declaring the connection dead
(default: 500ms).
2015-09-29 19:52:17 +02:00
.El
.Sh SEE ALSO
.Xr nc 1 ,
.Xr ping 8 ,
.Xr ping6 8
.Sh AUTHOR
The
.Nm
utility was written for tetaneutral.net by Matthieu Herrb.