summaryrefslogtreecommitdiff
path: root/usr.bin/w/uptime.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/w/uptime.1')
-rw-r--r--usr.bin/w/uptime.129
1 files changed, 21 insertions, 8 deletions
diff --git a/usr.bin/w/uptime.1 b/usr.bin/w/uptime.1
index c4f1b264201..ddc2ef15425 100644
--- a/usr.bin/w/uptime.1
+++ b/usr.bin/w/uptime.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: uptime.1,v 1.5 1999/07/09 13:35:30 aaron Exp $
+.\" $OpenBSD: uptime.1,v 1.6 1999/08/12 19:26:39 millert Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)uptime.1 8.2 (Berkeley) 4/18/94
.\"
-.Dd April 18, 1994
+.Dd August 12, 1999
.Dt UPTIME 1
.Os
.Sh NAME
@@ -41,18 +41,31 @@
.Nd show how long system has been running
.Sh SYNOPSIS
.Nm uptime
+.Op Fl M Ar core
+.Op Fl N Ar system
.Sh DESCRIPTION
The
.Nm uptime
utility displays the current time,
the length of time the system has been up,
the number of users, and the load average of the system over the last
-1, 5, and 15 minutes.
-.Sh FILES
-.Bl -tag -width /bsd
-.It Pa /bsd
-system name list
-.El
+1, 5, and 15 minutes. This is the
+.Dq heading
+information from
+.Xr w 1 .
+.Pp
+The options are as follows:
+.Bl -tag -width XXXXXXXXX
+.It Fl M Ar core
+Extract values associated with the name list from the specified
+.Ar core
+instead of the default
+.Pa /dev/kmem .
+.It Fl N Ar system
+Extract the name list from the specified
+.Ar system
+instead of the default
+.Pa /bsd .
.Sh SEE ALSO
.Xr w 1
.Sh HISTORY