Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 2023 - No ruptime command
Summary: No ruptime command
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rwho
Version: 5.2
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Preston Brown
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-04-06 20:25 UTC by Chris Siebenmann
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-04-09 18:16:25 UTC

Attachments (Terms of Use)

Description Chris Siebenmann 1999-04-06 20:25:48 UTC
Despite having rwhod and rwho, RedHat doesn't have an
ruptime (even in RawHide). If you're interested, I can
send you the source I use here (derived from a couple
of versions found on the net/Sunsite/etc for Linux, which
in turn were derived from 4.4BSD if I remember right).

Comment 1 Jeff Johnson 1999-04-06 20:49:59 UTC
Please send the source. Thanks.

Comment 2 Chris Siebenmann 1999-04-07 22:52:59 UTC
I mailed in the source following the FAQ on mailing in patches
to bugzilla, but it doesn't seem to have shown up here (unless
something is lagging in the update stuff). If the source has
really gone missing, I will email it to the address of choice
so as to get it submitted.

------- Email Received From  Jeff Johnson <jbj> 04/07/99 19:51 -------

Comment 3 Jeff Johnson 1999-04-09 18:16:59 UTC
Ruptime added in rwho-0.10-23. Thanks for the source.

Comment 4 Gilbert E. Detillieux 1999-07-14 23:14:59 UTC
ruptime now works like a charm, but the man page doesn't show the
options correctly (at least not on a RedHat 5.2 system).  The
following patch fixes that.  (I'm not sure it's the ideal fix, but it
seems to do the job.)

--- /usr/man/man1/ruptime.1     Wed Jul 14 11:54:01 1999
+++ ruptime.1   Wed Jul 14 18:06:24 1999
@@ -38,19 +38,20 @@
 .Tw Ds
-.Tp Fl a
+.Bl -tag -width flag
+.It Fl a
 Users idle an hour or more are not counted unless the
 .Fl a
 flag is given.
-.Tp Fl l
+.It Fl l
 Sort by load average.
-.Tp Fl r
+.It Fl r
 Reverses the sort order.
-.Tp Fl t
+.It Fl t
 Sort by uptime.
-.Tp Fl u
+.It Fl u
 Sort by number of users.
 The default listing is sorted by host name.

Note You need to log in before you can comment on or make changes to this bug.