mirror of
https://gitlab.com/procps-ng/procps.git
synced 2024-11-30 21:44:05 +08:00
3e7f78d296
This patch adds the -p option to the uptime(1) command, which changes the uptime displayed from something like: 10:35:52 up 2:33, 1 user, load average: 1.69, 1.65, 1.63 to: up 2 hours, 33 minutes I originally implemented this as the up(1) program about 14 years ago. In 2008 or 2009, I created a patch for procps to add this functionality to uptime and submitted it to the project. Never heard from the project and no new releases of procps had been made. Then I found out about this project and decided to port my patch to it. So here it is. This is really just for fun. There is no real technical reason to have this functionality. But even now, 14 years later, I still get emails asking where the source code for up is. So I thought it would be nice for the uptime command on Linux to sport the up functionality by default.
60 lines
1.3 KiB
Plaintext
60 lines
1.3 KiB
Plaintext
This file is no longer maintained. Please see git log for the most
|
|
up to date list about contributions.
|
|
|
|
$ git clone git://gitorious.org/procps/procps.git
|
|
# cd procps
|
|
$ git shortlog --no-merges -sne
|
|
|
|
-- Old credits ---
|
|
free:
|
|
Brian Edmonds
|
|
|
|
oldps:
|
|
Branko Lankester <lankeste@fwi.uva.nl>
|
|
Michael K. Johnson <johnsonm@redhat.com>
|
|
Michael Shields <mjshield@nyx.cs.du.edu>
|
|
Charles Blake <cblake@bbn.com>
|
|
David Mossberger-Tang
|
|
|
|
ps:
|
|
Albert Cahalan <albert@users.sf.net>
|
|
|
|
skill/kill/snice:
|
|
Albert Cahalan <albert@users.sf.net>
|
|
|
|
tload:
|
|
Branko Lankester
|
|
David Engel <david@ods.com>
|
|
Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
top:
|
|
Jim Warner <warnerjc@worldnet.att.net>
|
|
|
|
oldtop:
|
|
Branko Lankester <lankeste@fwi.uva.nl>
|
|
Roger Binns
|
|
Robert Nation <nation@rocket.sanders.lockheed.com>
|
|
Michael K. Johnson <johnsonm@redhat.com>
|
|
Michael Shields <mjshield@nyx.cs.du.edu>
|
|
Tim Janik <timj@gtk.org>
|
|
Helmut Geyer <Helmut.Geyer@iwr.uni-heidelberg.de>
|
|
George Bonser <george@captech.com>
|
|
|
|
uptime:
|
|
Larry Greenfield <greenfie@gauss.rutgers.edu>
|
|
Michael K. Johnson <johnsonm@sunsite.unc.edu>
|
|
David Cantrell <david.l.cantrell@gmail.com>
|
|
|
|
vmstat:
|
|
Henry Ware <al172@yfn.ysu.edu>.
|
|
|
|
w:
|
|
Larry Greenfield <greenfie@gauss.rutgers.edu>
|
|
Michael K. Johnson <johnsonm@redhat.com>
|
|
Charles Blake
|
|
|
|
watch:
|
|
Tony Rems <rembo@unisoft.com>
|
|
Mike Coleman <mkc@acm.org>
|
|
Jarrod Lowe <procps@rrod.net>
|