Module Name:    src
Committed By:   sevan
Date:           Thu Dec  6 19:15:35 UTC 2018

Modified Files:
        src/usr.bin/w: uptime.1 w.1

Log Message:
Document the source of load average figures.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/w/uptime.1
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/w/w.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/w/uptime.1
diff -u src/usr.bin/w/uptime.1:1.11 src/usr.bin/w/uptime.1:1.12
--- src/usr.bin/w/uptime.1:1.11	Thu Dec  6 19:01:53 2018
+++ src/usr.bin/w/uptime.1	Thu Dec  6 19:15:35 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: uptime.1,v 1.11 2018/12/06 19:01:53 sevan Exp $
+.\"	$NetBSD: uptime.1,v 1.12 2018/12/06 19:15:35 sevan Exp $
 .\"
 .\" Copyright (c) 1980, 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -46,6 +46,8 @@ 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.
+The load average is obtained using
+.Xr getloadavg 3 .
 .Sh FILES
 .Bl -tag -width /netbsd
 .It Pa /netbsd
@@ -53,7 +55,8 @@ system name list
 .El
 .Sh SEE ALSO
 .Xr top 1 ,
-.Xr w 1
+.Xr w 1 ,
+.Xr getloadavg 3
 .Sh HISTORY
 The
 .Nm

Index: src/usr.bin/w/w.1
diff -u src/usr.bin/w/w.1:1.18 src/usr.bin/w/w.1:1.19
--- src/usr.bin/w/w.1:1.18	Tue Jan 11 09:39:12 2005
+++ src/usr.bin/w/w.1	Thu Dec  6 19:15:35 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: w.1,v 1.18 2005/01/11 09:39:12 wiz Exp $
+.\"	$NetBSD: w.1,v 1.19 2018/12/06 19:15:35 sevan Exp $
 .\"
 .\" Copyright (c) 1980, 1990, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)w.1	8.1 (Berkeley) 6/6/93
 .\"
-.Dd January 11, 2005
+.Dd December 6, 2018
 .Dt W 1
 .Os
 .Sh NAME
@@ -51,6 +51,8 @@ been running, the number of users logged
 averages.
 The load average numbers give the number of jobs in the run queue averaged
 over 1, 5, and 15 minutes.
+The load average is obtained using
+.Xr getloadavg 3 .
 .Pp
 The fields output are the user's login name, the name of the terminal the
 user is on, the host from which the user is logged in, the time the user
@@ -91,7 +93,8 @@ list of users on the system
 .Xr finger 1 ,
 .Xr ps 1 ,
 .Xr uptime 1 ,
-.Xr who 1
+.Xr who 1 ,
+.Xr getloadavg 3
 .Sh HISTORY
 The
 .Nm

Reply via email to