Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2002 12:47:15 +0300 (MSK)
From:      maxim@macomnet.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/33639: ping(8) and ping6(8) are silent about SIGINFO
Message-ID:  <200201070947.g079lFp75004@news1.macomnet.ru>

next in thread | raw e-mail | index | archive | help


>Number:         33639
>Category:       docs
>Synopsis:       ping(8) and ping6(8) are silent about SIGINFO
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 07 01:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Maxim Konovalov, maxim@macomnet.ru
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
n/a
>Environment:

	FreeBSD 5.0-CURRENT i386

>Description:

	ping(8) and ping6(8) say nothing about SIGINGO handling.

>How-To-Repeat:

	n/a

>Fix:

Index: ping.8
===================================================================
RCS file: /home/ncvs/src/sbin/ping/ping.8,v
retrieving revision 1.33
diff -u -r1.33 ping.8
--- ping.8	25 Sep 2001 20:22:33 -0000	1.33
+++ ping.8	7 Jan 2002 09:30:46 -0000
@@ -266,8 +266,18 @@
 or if the program is terminated with a
 .Dv SIGINT ,
 a brief summary is displayed, showing the number of packets sent and
-received, and the minimum, maximum, mean, and standard deviation of
+received, and the minimum, mean, maximum and standard deviation of
 the round-trip times.
+.Pp
+If
+.Nm
+receives a
+.Dv SIGINFO
+(see the ``status'' argument for
+.Xr stty 1 )
+signal, the current number of packets sent and received, and the
+minimum, mean and maximum of the round-trip times will be written to
+the standard error output.
 .Pp
 This program is intended for use in network testing, measurement and
 management.

Index: ping6.8
===================================================================
RCS file: /home/ncvs/src/sbin/ping6/ping6.8,v
retrieving revision 1.15
diff -u -r1.15 ping6.8
--- ping6.8	11 Dec 2001 18:36:29 -0000	1.15
+++ ping6.8	7 Jan 2002 09:35:43 -0000
@@ -302,8 +302,18 @@
 or if the program is terminated with a
 .Dv SIGINT ,
 a brief summary is displayed, showing the number of packets sent and
-received, and the minimum, maximum, mean, and standard deviation of
-the round-trip times.
+received, and the minimum, mean and maximum of the round-trip times.
+.Pp
+If
+.Nm
+receives a
+.Dv SIGINFO
+(see the ``status'' argument for
+.Xr stty 1 )
+signal, the current number of packets sent and received, and the
+minimum, mean and maximum of the round-trip times will be written to
+the standard error output in the same format as the standard
+completion message.
 .Pp
 This program is intended for use in network testing, measurement and
 management.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201070947.g079lFp75004>