summaryrefslogtreecommitdiffstats
path: root/usr.bin/ruptime
Commit message (Collapse)AuthorAgeFilesLines
* MFC r320644:allanjude2017-07-041-1/+10
| | | | Add deprecation notices for all rcmd tools
* Create a rcmds package.gjb2016-01-211-0/+2
| | | | Sponsored by: The FreeBSD Foundation
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Updated dependenciessjg2014-05-161-1/+0
| |
| * Updated dependenciessjg2014-05-101-0/+2
| |
| * Updated dependenciessjg2013-03-111-0/+1
| |
| * Updated dependenciessjg2013-02-161-2/+0
| |
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+20
|/ | | | Requested by: Simon Gerraty <sjg@juniper.net>
* Add missing static keywords to ruptime(1)ed2011-11-061-20/+19
|
* Make some internal fixes to ruptime(1):ed2011-10-162-45/+40
| | | | | | | | | | - Prevent possible unaligned access to struct whoent. - Increase uptime column by one, to properly print hosts with an uptime greater than 1000 days. - Reduce code complexity by storing struct whod inside struct hs. - Set WARNS to 6. MFC after: 3 months
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-112-8/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Increase the hostname display width. Many machines are namedobrien2010-09-161-2/+2
| | | | | with >12 characters. This still allows for 80 column output with load averages of 99.99, 99.99, 99.99.
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-0/+3
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Revert most part of 200420 as requested, as more review and polish isdelphij2009-12-131-0/+1
| | | | needed.
* Remove unneeded header includes from usr.bin/ except contributed code.delphij2009-12-111-1/+0
| | | | Tested with: make universe
* Initialize variable "now" before using it (it is used by the LEFTEARTHantoine2008-03-171-1/+1
| | | | | | | | | macro) PR: 121418 Submitted by: Atsuo Ohki Approved by: rwatson (mentor) MFC after: 1 month
* - Do not allocate memory to entries in /var/rwho which have been down forssouhlal2005-09-021-3/+3
| | | | | | | more than 4 days - waste of memory. Obtained from: DragonFlyBSD (liamfoy) MFC after: 3 days
* Sync program's usage() with manpage's SYNOPSIS.ru2005-05-211-1/+1
|
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Forgot to update the date field; from David Magda <dmagda@magda.ca>.jmallett2003-03-011-1/+1
|
* Add functionality to only list hosts specified on the command line. If nonejmallett2003-03-012-67/+101
| | | | | | | | | | | | | 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.
* Use `The .Nm utility'charnier2002-04-201-4/+6
|
* remove __Pimp2002-03-221-8/+8
|
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Do not dot terminate err() string. Cross reference using .Xrcharnier2000-03-262-10/+10
|
* Document that hosts for which no status report has been received fornik1999-11-011-1/+2
| | | | | | | | 4 days are considered to have LEFT_EARTH(), and will not be shown in the list. PR: docs/14299 Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Mention rwhod(8) in the SEE ALSO sectionbrian1999-08-211-2/+3
|
* Specify that `ruptime' data is broadcast once every three minutes, notchris1999-08-141-2/+2
| | | | | | | once every minute. PR: docs/13130 Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
* 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-222-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-142-2/+2
| | | | | | | | 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
* add missing comma(s) in .Xr macroswosch1996-09-231-1/+2
|
* 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-273-0/+367
OpenPOWER on IntegriCloud