Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/w Document the source of load average figures.



details:   https://anonhg.NetBSD.org/src/rev/6d479d4f6185
branches:  trunk
changeset: 995096:6d479d4f6185
user:      sevan <sevan%NetBSD.org@localhost>
date:      Thu Dec 06 19:15:35 2018 +0000

description:
Document the source of load average figures.

diffstat:

 usr.bin/w/uptime.1 |  7 +++++--
 usr.bin/w/w.1      |  9 ++++++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diffs (65 lines):

diff -r ad19b6f2a025 -r 6d479d4f6185 usr.bin/w/uptime.1
--- a/usr.bin/w/uptime.1        Thu Dec 06 19:01:53 2018 +0000
+++ b/usr.bin/w/uptime.1        Thu Dec 06 19:15:35 2018 +0000
@@ -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 @@
 .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 @@
 .El
 .Sh SEE ALSO
 .Xr top 1 ,
-.Xr w 1
+.Xr w 1 ,
+.Xr getloadavg 3
 .Sh HISTORY
 The
 .Nm
diff -r ad19b6f2a025 -r 6d479d4f6185 usr.bin/w/w.1
--- a/usr.bin/w/w.1     Thu Dec 06 19:01:53 2018 +0000
+++ b/usr.bin/w/w.1     Thu Dec 06 19:15:35 2018 +0000
@@ -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 @@
 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 @@
 .Xr finger 1 ,
 .Xr ps 1 ,
 .Xr uptime 1 ,
-.Xr who 1
+.Xr who 1 ,
+.Xr getloadavg 3
 .Sh HISTORY
 The
 .Nm



Home | Main Index | Thread Index | Old Index