diff options
author | Frank Fesevur <fesevur@gmail.com> | 2012-12-26 23:14:09 +1100 |
---|---|---|
committer | Craig Small <csmall@enc.com.au> | 2012-12-26 23:14:09 +1100 |
commit | a705fdcb15c0515d512d54df43d3738b708ead65 (patch) | |
tree | 539831ed0568a668fc20de10959a36bd650d79f4 /uptime.1 | |
parent | 6c67c8d27a76d284796d0358a026bbabc5426878 (diff) | |
download | procps-ng-a705fdcb15c0515d512d54df43d3738b708ead65.tar.gz |
uptime: add since option
The --since or -s option will show the time since the host was online.
Reference(s):
http://www.freelists.org/post/procps/Patch-Added-since-option-to-uptime
Signed-off-by: Craig Small <csmall@enc.com.au>
Diffstat (limited to 'uptime.1')
-rw-r--r-- | uptime.1 | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,6 +1,6 @@ .\" -*-Nroff-*- .\" -.TH UPTIME "1" "June 2011" "procps-ng" "User Commands" +.TH UPTIME "1" "December 2012" "procps-ng" "User Commands" .SH NAME uptime \- Tell how long the system has been running. .SH SYNOPSIS @@ -28,6 +28,9 @@ the time. \fB\-h\fR, \fB\-\-help\fR display this help text .TP +\fB\-s\fR, \fB\-\-since\fR +system up since, in yyyy-mm-dd MM:HH:SS format +.TP \fB\-V\fR, \fB\-\-version\fR display version information and exit .SH FILES |