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>
This commit is contained in:
committed by
Craig Small
parent
6c67c8d27a
commit
a705fdcb15
5
uptime.1
5
uptime.1
@@ -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
|
||||
|
Reference in New Issue
Block a user