christos
9eb4baf479
From Liam Foy:
...
- Print uptime in secs if uptime is less than 1 minute
- If at least one call to onehost() fails, return one (allows for external error detection)
- Avoid leaks, use clnt_destroy (from OpenBSD)
- err(3) cleans
From me:
- lint cleanups
- more KNF
2005-08-07 16:01:45 +00:00
jmmv
b635f565e7
Homogenize usage messages: make the 'usage' word all lowercase, as this seems
...
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
itojun
50847da5c5
safer use of realloc
2003-10-16 06:56:17 +00:00
cgd
fdfcf1962d
labels (even default:) _must_ be followed by statements! usr.bin/fgen/fgen.l
2001-01-16 02:43:37 +00:00
fvdl
f99c32bacc
Complete ANSIfication.
2000-06-03 19:32:34 +00:00
fvdl
5531feb1a7
USe new RPC interface.
2000-06-02 23:20:49 +00:00
simonb
d88dfea295
Don't declare 'extern opt*' getopt variables.
2000-04-14 06:11:07 +00:00
jdolecek
7bcd049d31
Remove spurious ^L, as per bin/9574 by Thilo Manske.
...
While here, const poison a little.
2000-03-08 12:10:28 +00:00
hubertf
4b53c6d85d
If printing of a host's time is requested via the -d switch, condense
...
output so it doesn't exceed 80 columns.
Patch submitted in PR 5933 by Tim Rightnour <root@garbled.net>
1999-07-30 01:29:30 +00:00
abs
27107cb9f0
If up for one minute, report "1 min, " not "1 mins,".
1999-01-10 08:19:23 +00:00
perry
36af0320ed
add includes to fix compiler warning
1998-02-03 04:04:58 +00:00
lukem
d177c90289
s/bzero/memset, fix .Nm usage
1997-10-19 14:25:00 +00:00
drochner
3cb8fe8b6b
Fix compiler warnings (because new prototypes came into scope
...
with latest "rpc.h" changes). It's -Wall ready now.
1997-08-24 10:53:16 +00:00
perry
bf059fab25
make rup handle uptimes of more than 1 year per pr-3060
1997-01-16 22:18:16 +00:00
thorpej
19f013a504
RCS id police.
1996-09-27 01:46:08 +00:00
thorpej
13a88ddb50
Correct time display for 12:xx case.
...
From Dave Huang <khym@bga.com>, PR #2734 .
1996-09-27 01:44:58 +00:00
pk
7080a02c57
clnt_call requires timeval argument
1994-02-05 14:58:14 +00:00
jtc
fe6e50dbb6
Implemented sorting options found in Sun's rup.
1993-12-09 23:58:02 +00:00
deraadt
28b31be6fa
put -t in the usage line
1993-12-03 23:34:10 +00:00
deraadt
b52aae9d1e
more sane output.
...
option -t: print remote-host's time
1993-11-10 03:52:18 +00:00
jtc
ac5c852d4b
Make sure we use rstat's protocol's values of FSCALE. We were picking up
...
the FSCALE from sys/param.h which caused all of the load averages from
remote machines to be incorrect.
1993-09-23 18:37:28 +00:00
mycroft
aee4b07b8a
Add RCS identifiers, remove some completely useless RCS logs and patchkit
...
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
brezak
adbc81e9d6
Line buffer output to work better with more.
1993-06-10 12:28:06 +00:00
brezak
415b090a43
Fix calling clnt_sperror()
1993-06-09 19:50:08 +00:00
brezak
b9ff14e137
Widen host name.
1993-06-08 14:46:03 +00:00
brezak
5f2b367636
Add rup and rusers. Changes to rwall
1993-06-03 19:32:26 +00:00