2018-12-06 22:15:35 +03:00
|
|
|
.\" $NetBSD: uptime.1,v 1.12 2018/12/06 19:15:35 sevan Exp $
|
1996-06-07 05:39:10 +04:00
|
|
|
.\"
|
1994-05-09 07:35:55 +04:00
|
|
|
.\" Copyright (c) 1980, 1990, 1993, 1994
|
|
|
|
.\" The Regents of the University of California. All rights reserved.
|
1993-03-21 12:45:37 +03:00
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
2003-08-07 15:13:06 +04:00
|
|
|
.\" 3. Neither the name of the University nor the names of its contributors
|
1993-03-21 12:45:37 +03:00
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
1994-05-09 07:35:55 +04:00
|
|
|
.\" @(#)uptime.1 8.2 (Berkeley) 4/18/94
|
1993-03-21 12:45:37 +03:00
|
|
|
.\"
|
2018-12-06 22:01:53 +03:00
|
|
|
.Dd December 6, 2018
|
1993-03-21 12:45:37 +03:00
|
|
|
.Dt UPTIME 1
|
1999-03-22 21:16:34 +03:00
|
|
|
.Os
|
1993-03-21 12:45:37 +03:00
|
|
|
.Sh NAME
|
|
|
|
.Nm uptime
|
1994-05-09 07:35:55 +04:00
|
|
|
.Nd show how long system has been running
|
1993-03-21 12:45:37 +03:00
|
|
|
.Sh SYNOPSIS
|
1997-10-20 06:49:14 +04:00
|
|
|
.Nm
|
1993-03-21 12:45:37 +03:00
|
|
|
.Sh DESCRIPTION
|
2001-12-01 19:43:07 +03:00
|
|
|
The
|
1997-10-20 06:49:14 +04:00
|
|
|
.Nm
|
2018-12-06 22:01:53 +03:00
|
|
|
utility presents a subset of the information obtained by the
|
|
|
|
.Xr w 1
|
|
|
|
utility.
|
|
|
|
.Nm
|
|
|
|
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.
|
2018-12-06 22:15:35 +03:00
|
|
|
The load average is obtained using
|
|
|
|
.Xr getloadavg 3 .
|
1993-03-21 12:45:37 +03:00
|
|
|
.Sh FILES
|
1994-08-06 10:11:03 +04:00
|
|
|
.Bl -tag -width /netbsd
|
|
|
|
.It Pa /netbsd
|
1993-03-21 12:45:37 +03:00
|
|
|
system name list
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
2018-12-06 22:01:53 +03:00
|
|
|
.Xr top 1 ,
|
2018-12-06 22:15:35 +03:00
|
|
|
.Xr w 1 ,
|
|
|
|
.Xr getloadavg 3
|
1993-03-21 12:45:37 +03:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
command appeared in
|
|
|
|
.Bx 3.0 .
|