summaryrefslogtreecommitdiff
path: root/uptime.1
diff options
context:
space:
mode:
authorFrank Fesevur <fesevur@gmail.com>2012-12-26 23:14:09 +1100
committerCraig Small <csmall@enc.com.au>2012-12-26 23:14:09 +1100
commita705fdcb15c0515d512d54df43d3738b708ead65 (patch)
tree539831ed0568a668fc20de10959a36bd650d79f4 /uptime.1
parent6c67c8d27a76d284796d0358a026bbabc5426878 (diff)
downloadprocps-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.15
1 files changed, 4 insertions, 1 deletions
diff --git a/uptime.1 b/uptime.1
index 11fa036..13a9125 100644
--- a/uptime.1
+++ b/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