Red Hat Bugzilla – Bug 2023
No ruptime command
Last modified: 2008-05-01 11:37:49 EDT
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).
Please send the source. Thanks.
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 <firstname.lastname@example.org> 04/07/99 19:51 -------
Ruptime added in rwho-0.10-23. Thanks for the source.
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 @@
-.Tp Fl a
+.Bl -tag -width flag
+.It Fl a
Users idle an hour or more are not counted unless the
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.