]> granicus.if.org Git - sysstat/commitdiff
sar manual page: Update definition for runq-sz metric
authorSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 21 Aug 2020 08:36:47 +0000 (10:36 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 21 Aug 2020 08:36:47 +0000 (10:36 +0200)
The runq-sz metric was defined as the number of tasks waiting for run
time, and calculated as (number of tasks running+waiting for run time)
minus 1 (to not count current running process).
This was OK on UP machines, but is no longer true on SMP/multi-cores
machines. So update the metric's definition: runq-sz is the number of
tasks running or waiting for run time (we still don't count current
running process).

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
man/sar.in

index 847d7bf169ee5c5f23676b9d7b53f1301ea02c79..6d7bdc9b1b20b2056836f9cfc800a42ed4744e2a 100644 (file)
@@ -1,5 +1,5 @@
 .\" sar manual page - (C) 1999-2020 Sebastien Godard (sysstat <at> orange.fr)
-.TH SAR 1 "JULY 2020" Linux "Linux User's Manual" -*- nroff -*-
+.TH SAR 1 "AUGUST 2020" Linux "Linux User's Manual" -*- nroff -*-
 .SH NAME
 sar \- Collect, report, or save system activity information.
 
@@ -1309,7 +1309,7 @@ keyword, queue length and load averages statistics are reported.
 The following values are displayed:
 .RS
 .IP runq-sz
-Run queue length (number of tasks waiting for run time). 
+Run queue length (number of tasks running or waiting for run time).
 .IP plist-sz
 Number of tasks in the task list.
 .IP ldavg-1