summaryrefslogtreecommitdiffstats
path: root/patches/procps-3.2.8/0016-uptime.1.patch
blob: 9c2da06dc25571c741b5ebb8117e4e3d17f0fb90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
From b79e4c42592ff040817fd722c6083b2ebe40c289 Mon Sep 17 00:00:00 2001
From: http://ftp.de.debian.org/debian/pool/main/p/procps/procps_3.2.8-8.debian.tar.gz <info@debian.org>
Date: Fri, 19 Mar 2010 21:58:45 +0100
Subject: [PATCH 16/70] uptime.1

===================================================================
---
 uptime.1 |   23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/uptime.1 b/uptime.1
index 3aae739..a3da7c7 100644
--- a/uptime.1
+++ b/uptime.1
@@ -6,7 +6,8 @@ uptime \- Tell how long the system has been running.
 .SH SYNOPSIS
 .B uptime
 .br
-.BR uptime " [" "\-V" ]
+.B uptime
+.RB [ \-V ]
 .SH DESCRIPTION
 .B uptime
 gives a one line display of the following information.
@@ -14,13 +15,25 @@ 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.
-.sp
+
 This is the same information contained in the header line displayed by 
 .BR w (1).
+.sp
+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.
 .SH FILES
-.IR /var/run/utmp "	information about who is currently logged on"
-.br
-.IR /proc "	process information"
+.TP
+.I /var/run/utmp
+information about who is currently logged on
+.TP
+.I /proc
+process information
 .SH AUTHORS
 .B uptime
 was written by Larry Greenfield <greenfie@gauss.rutgers.edu> and
-- 
1.7.0