summaryrefslogtreecommitdiffstats
path: root/usr.bin/nice
diff options
context:
space:
mode:
authorremko <remko@FreeBSD.org>2011-02-24 16:13:33 +0000
committerremko <remko@FreeBSD.org>2011-02-24 16:13:33 +0000
commit454012a4dbb6b07cd38b4d849fe92d8e7b91d718 (patch)
treecc12314c979d492272b9cb99d9d05996a5709077 /usr.bin/nice
parenta7cc002c6b5fc1ea6b514dcae361a19d5c64871c (diff)
downloadFreeBSD-src-454012a4dbb6b07cd38b4d849fe92d8e7b91d718.zip
FreeBSD-src-454012a4dbb6b07cd38b4d849fe92d8e7b91d718.tar.gz
Add wording about the priority range and
mention what effect this has at certain values. PR: 124469 Obtained from: NetBSD nice.1 v1.14 MFC after: 1 week
Diffstat (limited to 'usr.bin/nice')
-rw-r--r--usr.bin/nice/nice.18
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/nice/nice.1 b/usr.bin/nice/nice.1
index 5f08551..b634f7a 100644
--- a/usr.bin/nice/nice.1
+++ b/usr.bin/nice/nice.1
@@ -28,7 +28,7 @@
.\" @(#)nice.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd June 6, 1993
+.Dd February 24, 2011
.Dt NICE 1
.Os
.Sh NAME
@@ -50,6 +50,11 @@ value by the specified
.Ar increment ,
or a default value of 10.
The lower the nice value of a process, the higher its scheduling priority.
+.Ar increment .
+The priority can be adjusted over a range of -20 (the higest) to 20 (the
+lowest).
+A priority of 19 or 20 will prevent a process from taking any cycles from
+others at nice 0 or better.
.Pp
The superuser may specify a negative increment in order to run a utility
with a higher scheduling priority.
@@ -107,6 +112,7 @@ option has been deprecated but is still supported.
.Xr rtprio 1 ,
.Xr getpriority 2 ,
.Xr setpriority 2 ,
+.Xr nice 3,
.Xr renice 8
.Sh STANDARDS
The
OpenPOWER on IntegriCloud