Date: Wed, 13 Oct 1999 04:43:16 +0100 From: Ben Smithurst <ben@scientia.demon.co.uk> To: FreeBSD-gnats-submit@freebsd.org Subject: docs/14299: ruptime(1) manpage doesn't say hosts down for 4 days are ignored. Message-ID: <E11bFJs-0008hb-00@magnesium.scientia.demon.co.uk>
index | next in thread | raw e-mail
>Number: 14299
>Category: docs
>Synopsis: ruptime(1) manpage doesn't say hosts down for 4 days are ignored.
>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: Tue Oct 12 21:00:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Ben Smithurst
>Release: FreeBSD 3.2-STABLE i386
>Organization:
>Environment:
>Description:
ruptime(1) doesn't show hosts in the output list at all if they have
been down for four days or more [*], yet the manpage does not document this
behaviour.
[*] as shown by the code
...
#define LEFTEARTH(h) (now - (h)->hs_wd->wd_recvtime > 4*24*60*60)
...
for (i = 0; i < nhosts; i++) {
hsp = &hs[i];
if (LEFTEARTH(hsp))
continue;
...
>How-To-Repeat:
>Fix:
--- ruptime.1.orig Wed Oct 13 04:33:46 1999
+++ ruptime.1 Wed Oct 13 04:36:33 1999
@@ -49,7 +49,8 @@
broadcast by each host on the network once every three minutes.
.Pp
Machines for which no status report has been received for 11
-minutes are shown as being down.
+minutes are shown as being down, and machines for which no status report has
+been received for 4 days are not shown in the list at all.
.Pp
The options are as follows:
.Bl -tag -width Ds
(sorry, this is against the -stable version, not -current, but that's
all I have here.)
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E11bFJs-0008hb-00>
