man-pages/man1/uptime.1.html
2021-03-31 01:06:50 +01:00

119 lines
3.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of UPTIME</TITLE>
</HEAD><BODY>
<H1>UPTIME</H1>
Section: User Commands (1)<BR>Updated: December 2012<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
uptime - Tell how long the system has been running.
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>uptime</B>
[<I>options</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>uptime</B>
gives a one line display of the following information. The current time, how
long the system has been running, how many users are currently logged on, and
the system load averages for the past 1, 5, and 15 minutes.
<P>
This is the same information contained in the header line displayed by
<B><A HREF="/cgi-bin/man/man2html?1+w">w</A></B>(1).
<P>
System load averages is the average number of processes that are either in a
runnable or uninterruptable state. A process in a runnable state is either
using the CPU or waiting to use the CPU. A process in uninterruptable state
is waiting for some I/O access, eg waiting for disk. The averages are taken
over the three time intervals. Load averages are not normalized for the
number of CPUs in a system, so a load average of 1 means a single CPU system
is loaded all the time while on a 4 CPU system it means it was idle 75% of
the time.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-p</B>, <B>--pretty</B><DD>
show uptime in pretty format
<DT id="2"><B>-h</B>, <B>--help</B><DD>
display this help text
<DT id="3"><B>-s</B>, <B>--since</B><DD>
system up since, in yyyy-mm-dd HH:MM:SS format
<DT id="4"><B>-V</B>, <B>--version</B><DD>
display version information and exit
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>FILES</H2>
<DL COMPACT>
<DT id="5"><I>/var/run/utmp</I>
<DD>
information about who is currently logged on
<DT id="6"><I>/proc</I>
<DD>
process information
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHORS</H2>
<B>uptime</B>
was written by
Larry Greenfield
and
Michael K. Johnson
<A NAME="lbAH">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+ps">ps</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+top">top</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?5+utmp">utmp</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?1+w">w</A></B>(1)
<A NAME="lbAI">&nbsp;</A>
<H2>REPORTING BUGS</H2>
Please send bug reports to
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="7"><A HREF="#lbAB">NAME</A><DD>
<DT id="8"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="9"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="10"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="11"><A HREF="#lbAF">FILES</A><DD>
<DT id="12"><A HREF="#lbAG">AUTHORS</A><DD>
<DT id="13"><A HREF="#lbAH">SEE ALSO</A><DD>
<DT id="14"><A HREF="#lbAI">REPORTING BUGS</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:29 GMT, March 31, 2021
</BODY>
</HTML>