Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 Add instructions on how to determine the sche...



details:   https://anonhg.NetBSD.org/src/rev/93e33b1e6fb4
branches:  trunk
changeset: 450290:93e33b1e6fb4
user:      sevan <sevan%NetBSD.org@localhost>
date:      Tue Apr 09 13:53:52 2019 +0000

description:
Add instructions on how to determine the scheduler in use.

diffstat:

 share/man/man9/sched_4bsd.9 |  10 ++++++++--
 share/man/man9/sched_m2.9   |  10 ++++++++--
 2 files changed, 16 insertions(+), 4 deletions(-)

diffs (62 lines):

diff -r aef9f5ec03f2 -r 93e33b1e6fb4 share/man/man9/sched_4bsd.9
--- a/share/man/man9/sched_4bsd.9       Tue Apr 09 13:25:07 2019 +0000
+++ b/share/man/man9/sched_4bsd.9       Tue Apr 09 13:53:52 2019 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: sched_4bsd.9,v 1.8 2010/12/02 12:54:13 wiz Exp $
+.\"     $NetBSD: sched_4bsd.9,v 1.9 2019/04/09 13:53:52 sevan Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 14, 2007
+.Dd April 9, 2019
 .Dt SCHED_4BSD 9
 .Os
 .Sh NAME
@@ -78,6 +78,12 @@
 checks if an LWP has slept for more than one second.
 If so, its priority is updated by
 .Fn updatepri .
+.Sh EXAMPLES
+To determine the scheduler currently in use
+.Bd -literal -offset indent
+$ sysctl kern.sched.name
+kern.sched.name = 4.4BSD
+.Ed
 .Sh CODE REFERENCES
 The
 .Bx 4.4
diff -r aef9f5ec03f2 -r 93e33b1e6fb4 share/man/man9/sched_m2.9
--- a/share/man/man9/sched_m2.9 Tue Apr 09 13:25:07 2019 +0000
+++ b/share/man/man9/sched_m2.9 Tue Apr 09 13:53:52 2019 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: sched_m2.9,v 1.3 2010/12/02 12:54:13 wiz Exp $
+.\"     $NetBSD: sched_m2.9,v 1.4 2019/04/09 13:53:52 sevan Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd March 5, 2010
+.Dd April 9, 2019
 .Dt SCHED_M2 9
 .Os
 .Sh NAME
@@ -38,6 +38,12 @@
 .Sh DESCRIPTION
 The M2 scheduler implements a scheduling algorithm similar to
 the scheduler implementations of UNIX System V Release 4 and Solaris.
+.Sh EXAMPLES
+To determine the scheduler currently in use
+.Bd -literal -offset indent
+$ sysctl kern.sched.name
+kern.sched.name = M2
+.Ed
 .Sh CODE REFERENCES
 The M2 scheduler is implemented within the file
 .Pa sys/kern/sched_m2.c .



Home | Main Index | Thread Index | Old Index