summaryrefslogtreecommitdiffstats
path: root/usr.bin/ruptime/ruptime.c
Commit message (Collapse)AuthorAgeFilesLines
* Sync program's usage() with manpage's SYNOPSIS.ru2005-05-211-1/+1
|
* Add functionality to only list hosts specified on the command line. If nonejmallett2003-03-011-67/+93
| | | | | | | | | | | | | are specified the old behaviour is old. The submitted applied a much cleaner diff to ruptime.c, however it did not cover cases like listing failures. It would probably be a good idea to move the printing from the ruptime function, and have that function just be used to build the list, as that would unbreak sorting, but this diff is intended to be clear, relative to the original code. As the sort order is the order specified on the command line, for now, such is documented in the manual page accordingly. Submitted by: Edward J. M. Blocklesby <ejb@lythe.org.uk> MFC after: 3 weeks
* Use __FBSDID(), ANSIfy headings, use const/unsigned in minor butmarkm2002-04-281-24/+16
| | | | appropriate places.
* remove __Pimp2002-03-221-8/+8
|
* Do not dot terminate err() string. Cross reference using .Xrcharnier2000-03-261-5/+6
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Small formatting change to interval() to align columns so that:scrappy1997-03-311-3/+3
| | | | | | | | | | toronto up 5+18:58, 0 users, load 0.00, 0.00, 0.00 zeus up 109+13:53, 0 users, load 0.55, 0.28, 0.15 looks like: toronto up 5+18:58, 0 users, load 0.00, 0.00, 0.00 zeus up 109+13:53, 0 users, load 0.55, 0.28, 0.15
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Description:scrappy1996-10-231-2/+4
| | | | | | | | | | | Machine come and go... Little patch removes lists down for over 4 days from the list. (If you haven't noticed they are down in that period, you should turn them off!) Closes: PR#bin/1361 Submitted by: xaa@stack.urc.tue.nl
* Change the errx(0,...) to errx(1,...)jkh1995-09-081-2/+2
| | | | Submitted by: Mike Murphy <mrm@alpharel.com>
* Delete bogus referneces to timezone code internal header file `tzfile.h',wollman1995-08-071-7/+6
| | | | which is no longer bogusly installed in /usr/include.
* D*mn, botched my last commit message. :-(joerg1995-07-221-0/+2
| | | | | | | | | | | >Description: A machine with uptime >1 year appears wrong in the ruptime list Fixes bin/626: ruptime doesn't like big ... Reviewed by: Submitted by: root@xaa.stack.urc.tue.nl Obtained from:
* this avaids the "lineoverflow" which you'll always get at 80 column displaysjoerg1995-07-221-1/+1
| | | | | | | | at bootup Reviewed by: Submitted by: graichen@omega.physik.fu-berlin.de (Thomas Graichen) Obtained from:
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+281
OpenPOWER on IntegriCloud